Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sh functions do not use function prefix on Linux #198

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

Rqnsom
Copy link
Member

@Rqnsom Rqnsom commented Jul 8, 2024

Seems like the behavior in sh is not aligned between OSX and Linux. On Linux, sh script functions are not supposed to be prefixed with the function keyword.

Seems like the behavior in `sh` is not aligned between OSX and Linux.
On Linux, sh script functions are not supposed to be prefixed with the
`function` keyword.
@Rqnsom Rqnsom added the fix label Jul 8, 2024
@Rqnsom Rqnsom requested a review from neutrinoks July 8, 2024 08:48
@Rqnsom Rqnsom self-assigned this Jul 8, 2024
Copy link
Contributor

@neutrinoks neutrinoks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Rqnsom Rqnsom merged commit 730bf5f into main Jul 8, 2024
1 check passed
@Rqnsom Rqnsom deleted the fix/sh-functions-are-not-prefixed-on-linux branch July 8, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants