Sohum
2024-10-13 1dc208356abdcf8d3c0e826fd2184624298dd771
refs
author Sohum <31165513+ssmendon@users.noreply.github.com>
Sunday, October 13, 2024 17:46 +0000
committer GitHub <noreply@github.com>
Sunday, October 13, 2024 17:46 +0000
commit1dc208356abdcf8d3c0e826fd2184624298dd771
tree af5ac740624cb670448b406ce62cf785453adede tree | zip | gz
parent 3d0ba320708420e53f090642aae23d29d5a502be view | diff
fix(cli): use shell on win32 for `update` (#1503) (#1504)

If there is no `npm.exe` on the system, but
instead an `npm.cmd`, then node won't find
the `npm` executable when calling `spawnSync`.

This occurs frequently when using node package
managers on Windows.

See the node documentation for `.bat` and `.cmd`
files here.

<https://nodejs.org/api/child_process.html#spawning-bat-and-cmd-files-on-windows>.
1 files modified
20 ■■■■■ changed files
quartz/cli/handlers.js 20 ●●●●● diff | view | raw | blame | history