Fix error related to npm config get

This commit is contained in:
Joseph Garrone 2024-07-09 14:59:59 +02:00
parent b5d5002061
commit 82e179730e

View File

@ -575,7 +575,7 @@ export function getBuildContext(params: {
try {
child_process.execSync("npm config get", {
cwd: dirPath,
stdio: "ignore"
stdio: "pipe"
});
} catch (error) {
if (String(error).includes("ENOWORKSPACES")) {