You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running file-trailing-single-newline results in the following error. However, the files are fixed correctly. Rerunning it doesn't pick anything up and returns successfully.
$ file-trailing-single-newline --fix --path=./
$ find ./ -type f -print0 | xargs -0 -P 8 -n1 sh -c 'if [ -f "${1}" ]; then aci-trailing-newline -1 "$1" || ((echo "" >> "$1" && sed -i "" -e :a -e "/^\n*\$/{\$d;N;ba" -e "}" "$1") && echo "Fixing: $1" || echo "FAILED: $1"); fi' --
Fixing: ./file.conf
[ERR] Some files do not have exactly one trailing newline.
The text was updated successfully, but these errors were encountered:
Running file-trailing-single-newline results in the following error. However, the files are fixed correctly. Rerunning it doesn't pick anything up and returns successfully.
The text was updated successfully, but these errors were encountered: