Skip to content

Commit cc2a1af

Browse files
authored
Fix package manager undefined (#762)
#735 uses the `packageManager` variable that comes from launch configuration instead of `manager` that was just matched for the given lock file. This results in packager beeing `undefined`. Fixes #760 ### How Has This Been Tested: - Remove node_modules from expo-go project - Run IDE in given project - The IDE should launch
1 parent 3b3b1a2 commit cc2a1af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vscode-extension/src/utilities/packageManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export async function resolvePackageManager(): Promise<PackageManagerInfo | unde
8888
for (const file of files) {
8989
const manager = lockFiles.get(file);
9090
if (manager) {
91-
packageManagerCandidates.push(packageManager);
91+
packageManagerCandidates.push(manager);
9292
}
9393
}
9494

0 commit comments

Comments
 (0)