Skip to content

Commit

Permalink
Update writeEnvsToFile.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
atn4z7 committed Feb 22, 2024
1 parent 62710ca commit 2e13dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-mobile/scripts/github/writeEnvsToFile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [ -z "$data" ]; then
fi

# Parse the string to extract key-value pairs
pairs=$(echo "$data" | sed 's/[{}"]//g; s/:/=/; s/:/=/g' | tr ',' '\n')
pairs=$(echo "$data" | sed 's/[{}"]//g' | tr ',' '\n' | sed 's/:/=/')

# Erase the content of the output file
> "$2"
Expand Down

0 comments on commit 2e13dad

Please sign in to comment.