Skip to content

Commit

Permalink
Include comment on locking pattern for hadolint
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hobson committed Apr 14, 2021
1 parent add6fda commit b1000fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pre-commit-hadolint
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function mylock() {
}

# Download the binary if it doesn't already exist
# use the locking pattern from https://linux.die.net/man/1/flock
(
mylock
if [[ ! -x ${LOCAL_BINARY} ]]; then
Expand Down

0 comments on commit b1000fc

Please sign in to comment.