Skip to content

Commit cf70a15

Browse files
authored
Prevent auto-indent inExperiment method from returning undefined (#19739)
1 parent 3bf4dae commit cf70a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/activation/node/analysisOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class NodeLanguageServerAnalysisOptions extends LanguageServerAnalysisOpt
6464
}
6565

6666
const pylanceVersion = extensions.getExtension(PYLANCE_EXTENSION_ID)?.packageJSON.version;
67-
return pylanceVersion && semver.prerelease(pylanceVersion)?.includes('dev');
67+
return pylanceVersion && semver.prerelease(pylanceVersion)?.includes('dev') === true;
6868
}
6969

7070
private getPythonSpecificEditorSection() {

0 commit comments

Comments
 (0)