Skip to content

Commit

Permalink
clarified wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed May 19, 2024
1 parent b1e9ab7 commit ad56747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opt/cs50/bin/code
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if [ "$options" = false ]; then

# If file doesn't have an extension
if [[ ! "$arg" =~ \.[^.]+$ ]]; then
read -p "Are you sure you want to create ${bold}${arg}${normal}? Filenames usually have extensions. [y/N] " -r
read -p "Are you sure you want to create ${bold}${arg}${normal} without an extension? Filenames usually have extensions. [y/N] " -r
if [[ ! "${REPLY,,}" =~ ^y|yes$ ]]; then
exit 1
fi
Expand Down

0 comments on commit ad56747

Please sign in to comment.