Skip to content

Commit

Permalink
Merge pull request #22677 from sookmax/node-options-quotes
Browse files Browse the repository at this point in the history
Sandboxes: Fix scripts when pre-existing `NODE_OPTIONS` contains whitespaces
  • Loading branch information
JReinhold authored Sep 12, 2023
2 parents 01aa0e8 + 230846d commit bad34e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tasks/sandbox-parts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const init: Task['run'] = async (
}

const nodeOptionsString = nodeOptions.join(' ');
const prefix = `NODE_OPTIONS="${nodeOptionsString}" STORYBOOK_TELEMETRY_URL="http://localhost:6007/event-log"`;
const prefix = `NODE_OPTIONS='${nodeOptionsString}' STORYBOOK_TELEMETRY_URL="http://localhost:6007/event-log"`;

await updatePackageScripts({
cwd,
Expand Down

0 comments on commit bad34e1

Please sign in to comment.