Skip to content

Commit

Permalink
warnings.bash: Add shebang
Browse files Browse the repository at this point in the history
Add a `#!/usr/bin/env bash` shebang, similarly to all other scripts in
`lib/bash-core`.
  • Loading branch information
gioele committed May 21, 2022
1 parent 4a4f234 commit ef4e666
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/bats-core/warnings.bash
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

# shellcheck source=lib/bats-core/tracing.bash
source "$BATS_ROOT/lib/bats-core/tracing.bash"

Expand Down Expand Up @@ -30,4 +32,4 @@ bats_warn_minimum_guaranteed_version() { # <feature> <minimum required version>
if bats_version_lt "$BATS_GUARANTEED_MINIMUM_VERSION" "$2"; then
bats_generate_warning 2 "$1" "$2" "$2"
fi
}
}

0 comments on commit ef4e666

Please sign in to comment.