Skip to content

Commit

Permalink
No work around fish --no-execute unknown command
Browse files Browse the repository at this point in the history
Current fish --no-execute fails if an unknown command is
detected. Because functions are never defined it's not
very useful for us.

fish-shell/fish-shell#977
  • Loading branch information
jorgebucaran committed Jan 23, 2021
1 parent 33471be commit e6e5fc2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions functions/fishtape.fish
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ function fishtape --description "Test scripts, functions, and plugins in Fish"
if test ! -f $file
echo "fishtape: Invalid file or file not found: \"$file\"" >&2
return 1
else if ! fish --no-execute $file
echo "fishtape: Syntax errors found in file: \"$file\"" >&2
return 1
end
end

Expand Down

0 comments on commit e6e5fc2

Please sign in to comment.