Skip to content

Commit

Permalink
update .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmenezes committed Feb 19, 2024
1 parent e0adf15 commit 00e3235
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TEST=TEST
TEST_WITH_QUOTES="TEST"
# Comment Line
#Comment=Line
3 changes: 2 additions & 1 deletion gh-env-to-repo
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ function parse_dot_env() {
# Remove leading/trailing whitespace
line=$(echo "$line" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
if [[ -z $line || $line == \#* ]]; then
continue # Skip empty lines and lines starting with '#'
# Skip empty lines and lines starting with '#'
continue
fi
# Eg. KEY=VALUE or KEY="VALUE"
if [[ $line == *=* ]]; then
Expand Down

0 comments on commit 00e3235

Please sign in to comment.