This commit is contained in:
parent
ac085286a9
commit
5f3f25eee9
@ -57,8 +57,6 @@ function readNpmConfig(): Promise<string> {
|
|||||||
try {
|
try {
|
||||||
stdout = await exec("npm config get", { "encoding": "utf8", cwd }).then(({ stdout }) => stdout);
|
stdout = await exec("npm config get", { "encoding": "utf8", cwd }).then(({ stdout }) => stdout);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(String(error), error);
|
|
||||||
|
|
||||||
if (String(error).includes("ENOWORKSPACES")) {
|
if (String(error).includes("ENOWORKSPACES")) {
|
||||||
assert(cwd !== pathSep);
|
assert(cwd !== pathSep);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user