Try to fix pnpm error on Dev Package Tests (#12774)
* Remove `-y` from `pnpm init` * Change
This commit is contained in:
1 parent
9348049311
commit
fe6820e815
2 files changed
+6
-1
No files matched your search
@@ -51,7 +51,11 @@ module.exports = (packageDir) => {
|
||||
fs.copyFileSync(file, packed);
|
||||
fs.unlinkSync(file);
|
||||
|
||||
execaSync(client, ["init", "-y"], { cwd: tmpDir });
|
||||
if (client === "pnpm") {
|
||||
execaSync(client, ["init"], { cwd: tmpDir });
|
||||
} else {
|
||||
execaSync(client, ["init", "-y"], { cwd: tmpDir });
|
||||
}
|
||||
|
||||
let installArguments = [];
|
||||
switch (client) {
|
||||
|
||||
Reference in new issue
Block a user