Skip to content

Commit

Permalink
fix Darwin for issue #26
Browse files Browse the repository at this point in the history
  • Loading branch information
msteen committed Jul 24, 2021
1 parent 3bd4b9b commit a4773bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ done

handle_common

[[ $input_type =~ ^(nix|json|shell)?$ ]] || die "Unsupported input type '${input_type}'."
[[ -z $input_type || $input_type =~ ^(nix|json|shell)$ ]] || die "Unsupported input type '${input_type}'."
[[ $output_type =~ ^(nix|json|shell|raw)$ ]] || die "Unsupported output type '${output_type}'."

if [[ -v fetcher ]]; then
Expand Down

0 comments on commit a4773bf

Please sign in to comment.