We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 083b0d8 + 16bc739 commit ccecdbdCopy full SHA for ccecdbd
pre_commit_hooks/check_executables_have_shebangs.py
@@ -64,6 +64,8 @@ def _message(path: str) -> None:
64
f'{path}: marked executable but has no (or invalid) shebang!\n'
65
f" If it isn't supposed to be executable, try: "
66
f'`chmod -x {shlex.quote(path)}`\n'
67
+ f' If on Windows, you may also need to: '
68
+ f'`git add --chmod=-x {shlex.quote(path)}`\n'
69
f' If it is supposed to be executable, double-check its shebang.',
70
file=sys.stderr,
71
)
0 commit comments