Skip to content

Commit

Permalink
fix: sandbox package.json when pre-existing NODE_OPTIONS value contai…
Browse files Browse the repository at this point in the history
…ns whitespaces
  • Loading branch information
sookmax committed May 22, 2023
1 parent fa24eaf commit 578cbbf
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 @@ -131,7 +131,7 @@ export const install: 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 578cbbf

Please sign in to comment.