From d4c74eeb03e17dec868b07b611436d03b2b1e59c Mon Sep 17 00:00:00 2001 From: Nikolai Katkov Date: Fri, 26 Jan 2024 20:56:39 +0100 Subject: [PATCH] fix root workspace pnpm --- src/lib/eslint/installDependencies.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/eslint/installDependencies.ts b/src/lib/eslint/installDependencies.ts index 54468b7..45d2976 100644 --- a/src/lib/eslint/installDependencies.ts +++ b/src/lib/eslint/installDependencies.ts @@ -85,11 +85,11 @@ const installPnpmDependencies = (parameters: InstallDependenciesParameters): voi .join(' ') if (dependencyList) { - execSync(`pnpm add ${dependencyList} -w`, { cwd, stdio: debug ? 'inherit' : 'ignore' }) + execSync(`pnpm add ${dependencyList}`, { cwd, stdio: debug ? 'inherit' : 'ignore' }) } if (developmentDependencyList) { - execSync(`pnpm add -D ${developmentDependencyList} -w`, { + execSync(`pnpm add -D ${developmentDependencyList}`, { cwd, stdio: debug ? 'inherit' : 'ignore', })