Skip to content

Commit

Permalink
chore: add instructions on how to overwrite existing dotenv file
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanemachine committed Oct 1, 2023
1 parent 39df430 commit 48785bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/scripts/dotenv-generate
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ -f "$env_path" ]; then

else
# exit without writing the dotenv file
printf "\033[31mDotenv file already exists: '%s'.\033[39m\n" "$env_path"
printf "\033[31mDotenv file already exists: '%s'.\033[39m\nPass '--force' as the last positional argument to overwrite this file.\n" "$env_path"
echo "Aborting..."
exit 1
fi
Expand Down

0 comments on commit 48785bf

Please sign in to comment.