We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I know this is intended to be run through docker; however when run on macOS, the fixers don't work due to a missing space in the sed arguments.
sed
It results in the following error:
sed: -e: No such file or directory
The solution is to simply add a space between the -i of the sed command and the blank '' on this line:
-i
''
awesome-ci/bin/file-trailing-single-newline
Line 48 in 36e9d1e
So it becomes this:
MY_FIX_CMD="aci-trailing-newline -1 \"\$1\" || ((echo \"\" >> \"\$1\" && sed -i \"\" -e :a -e \"/^\n*\\\$/{\\\$d;N;ba\" -e \"}\" \"\$1\") && echo \"Fixing: \$1\" || echo \"FAILED: \$1\")"
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I know this is intended to be run through docker; however when run on macOS, the fixers don't work due to a missing space in the
sed
arguments.It results in the following error:
The solution is to simply add a space between the
-i
of thesed
command and the blank''
on this line:awesome-ci/bin/file-trailing-single-newline
Line 48 in 36e9d1e
So it becomes this:
MY_FIX_CMD="aci-trailing-newline -1 \"\$1\" || ((echo \"\" >> \"\$1\" && sed -i \"\" -e :a -e \"/^\n*\\\$/{\\\$d;N;ba\" -e \"}\" \"\$1\") && echo \"Fixing: \$1\" || echo \"FAILED: \$1\")"
The text was updated successfully, but these errors were encountered: