From 578cbbff4ba2926d08ffecd1d80055eb8dde6578 Mon Sep 17 00:00:00 2001 From: sook Date: Mon, 22 May 2023 20:25:56 +0900 Subject: [PATCH] fix: sandbox package.json when pre-existing NODE_OPTIONS value contains whitespaces --- scripts/tasks/sandbox-parts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tasks/sandbox-parts.ts b/scripts/tasks/sandbox-parts.ts index e32ce51214b8..63b4285c5e8c 100644 --- a/scripts/tasks/sandbox-parts.ts +++ b/scripts/tasks/sandbox-parts.ts @@ -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,