Skip to content

Commit a8915f5

Browse files
author
Kartik Raj
committed
oOpS
1 parent d9b73c7 commit a8915f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/pythonEnvironments/discovery/locators/services/pipEnvHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ async function getPipfileIfGlobal(interpreterPath: string): Promise<string | und
108108
// |__ Pipfile <--- check if Pipfile exists here and return it
109109
// The name of the project (directory where Pipfile resides) is used as a prefix in the environment folder
110110
const envFolderName = path.basename(envFolder);
111-
if (!envFolderName.match(new RegExp(`^${path.basename(projectDir)}-[0-9a-fA-F]+$`)) === null) {
111+
if (envFolderName.match(new RegExp(`^${path.basename(projectDir)}-[0-9a-fA-F]+$`)) === null) {
112112
return undefined;
113113
}
114114

0 commit comments

Comments
 (0)