mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:04:57 +00:00
Meta: Fix typos in shell script comments
This commit is contained in:
parent
5fb748b333
commit
24682f5dcf
3 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ done < <(
|
|||
else
|
||||
# We're in the middle of a pre-commit run, so we should only check the files that have
|
||||
# actually changed. The reason is that "git ls-files | grep" on the entire repo takes
|
||||
# about 100ms. That is perfectly fine during a CI run, but becomes noticable during a
|
||||
# about 100ms. That is perfectly fine during a CI run, but becomes noticeable during a
|
||||
# pre-commit hook. It is unnecessary to check the entire repository on every single
|
||||
# commit, so we save some time here.
|
||||
for file in "$@"; do
|
||||
|
|
|
@ -21,7 +21,7 @@ fi
|
|||
if [ "$#" -gt "0" ] ; then
|
||||
# We're in the middle of a pre-commit run, so we should only check the files that have
|
||||
# actually changed. The reason is that "git ls-files | grep" on the entire repo takes
|
||||
# about 100ms. That is perfectly fine during a CI run, but becomes noticable during a
|
||||
# about 100ms. That is perfectly fine during a CI run, but becomes noticeable during a
|
||||
# pre-commit hook. It is unnecessary to check the entire repository on every single
|
||||
# commit, so we save some time here.
|
||||
for file in "$@"; do
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# SC2034: "Variable appears unused. Verify it or export it."
|
||||
# Those are intentional here, as the file is meant to be included elsewhere.
|
||||
|
||||
# NOTE: If using another privilege escalation binary make sure it is configured or has the appropiate flag
|
||||
# NOTE: If using another privilege escalation binary make sure it is configured or has the appropriate flag
|
||||
# to keep the current environment variables in the launched process (in sudo's case this is achieved
|
||||
# through the -E flag described in sudo(8).
|
||||
die() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue