diff --git a/package.json b/package.json index ea4c349..ec2bcd3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "ionic", "displayName": "Ionic", "description": "Official extension for Ionic and Capacitor development", - "version": "1.97.0", + "version": "1.97.1", "icon": "media/ionic.png", "publisher": "Ionic", "keywords": [ diff --git a/src/project.ts b/src/project.ts index d065f67..fbb41a8 100755 --- a/src/project.ts +++ b/src/project.ts @@ -741,7 +741,8 @@ function getPackageManager(folder: string, monoRepoType: MonoRepoType): PackageM if (monoRepoType == MonoRepoType.yarn) { const packageLock = join(folder, 'package-lock.json'); - if (!packageLock) { + + if (!existsSync(packageLock)) { // Its a yarn monorepo so use yarn as package manager return PackageManager.yarn; }