Root cause
|
shell: true, // we'll deal with escaping ourselves (for now) |
Repro
Run in node 24.4.1
const cp = require('child_process');
cp.spawn('git', ['log'], { shell: true });
You'll see the same warning.
We see this warning when running Storybook from the Storybook monorepo, through the Chromatic visual-tests-addon, and the code/lib/cli-storybook/test/default/cli.test.cjs tests are failing because the same security warning appears in our output.
Root cause
chromatic-cli/node-src/git/execGit.ts
Line 14 in 1a8b1a3
Repro
Run in node 24.4.1
You'll see the same warning.
We see this warning when running Storybook from the Storybook monorepo, through the Chromatic visual-tests-addon, and the
code/lib/cli-storybook/test/default/cli.test.cjstests are failing because the same security warning appears in our output.