Skip to content

Commit ae388ec

Browse files
MathiasVPcriemen
andauthored
Update docs/pre-commit-hook-setup.md
Co-authored-by: Cornelius Riemenschneider <criemen@github.com>
1 parent 11e2bc3 commit ae388ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pre-commit-hook-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
As stated in [CONTRIBUTING](../CONTRIBUTING.md) all CodeQL files must be formatted according to our [CodeQL style guide](ql-style-guide.md). You can use our pre-commit hook to avoid committing incorrectly formatted code. To use it, simply copy the [pre-commit](../misc/scripts/pre-commit) script to `.git/modules/ql/hooks/pre-commit` and make sure that:
44

55
- The script is executable. On Linux and macOS this can be done using `chmod +x`.
6-
- The CodeQL CLI has in added to your `PATH`.
6+
- The CodeQL CLI has been added to your `PATH`.
77

88
The script will abort a commit that contains incorrectly formatted code in .ql or .qll files and print an error message like:
99

0 commit comments

Comments
 (0)