Fix error related to npm config get
This commit is contained in:
parent
b5d5002061
commit
82e179730e
@ -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")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user