Skip to content

Commit

Permalink
fix: updated error message when run with empty options
Browse files Browse the repository at this point in the history
  • Loading branch information
celsodias12 committed Mar 26, 2023
1 parent 56881a2 commit ca33619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watch-files-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ validate_options() {
fi

if [ -z "$DIR_OR_PATH_TO_MONITOR" ]; then
messages+=('No pattern files to monitor was passed')
messages+=('No directory or file to monitor was passed')
fi

if [ ${#messages[@]} -gt 0 ]; then
Expand Down

0 comments on commit ca33619

Please sign in to comment.