Skip to content

Commit

Permalink
fix syntax for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
arr00 committed Dec 23, 2024
1 parent c3b3ae7 commit e2b31e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/set-max-old-space-size.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

export NODE_OPTIONS="${NODE_OPTIONS:-}"

if [[ $NODE_OPTIONS != *"--max-old-space-size"* ]]; then
if [ "$NODE_OPTIONS" != *"--max-old-space-size"* ]; then
export NODE_OPTIONS="${NODE_OPTIONS} --max-old-space-size=8192"
fi

0 comments on commit e2b31e5

Please sign in to comment.