Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
Fix unbound variable if called outside of opened shell
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Feb 15, 2024
1 parent d9f2af4 commit 951801b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixpkgs-review-checks
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ else
case "${1:-}" in
"post-result")
# shellcheck disable=SC2154
if [[ $name == name=review-shell || -v PR ]]; then
if [[ ${name:-} == name=review-shell || -v PR ]]; then
correct_dir=false

if [[ -d nixpkgs ]]; then
Expand Down

0 comments on commit 951801b

Please sign in to comment.