We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d361ab5 commit 8d6b32fCopy full SHA for 8d6b32f
lib/pnpm-package-manager.ts
@@ -51,6 +51,8 @@ export class PnpmPackageManager extends BasePackageManager {
51
52
@exported("pnpm")
53
public uninstall(packageName: string, config?: IDictionary<string | boolean>, cwd?: string): Promise<string> {
54
+ // pnpm does not want save option in remove. It saves it by default
55
+ delete config['save'];
56
const flags = this.getFlagsString(config, false);
57
return this.$childProcess.exec(`pnpm remove ${packageName} ${flags}`, { cwd });
58
}
0 commit comments