We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82050ff commit b161699Copy full SHA for b161699
src/extension/debugger/adapter/factory.ts
@@ -175,7 +175,10 @@ export class DebugAdapterDescriptorFactory implements IDebugAdapterDescriptorFac
175
176
private async getExecutableCommand(interpreter: Environment | undefined): Promise<string[]> {
177
if (interpreter) {
178
- if ((interpreter.version?.major ?? 0) < 3 || (interpreter.version?.minor ?? 0) <= 6) {
+ if (
179
+ (interpreter.version?.major ?? 0) < 3 ||
180
+ ((interpreter.version?.major ?? 0) <= 3 && (interpreter.version?.minor ?? 0) <= 6)
181
+ ) {
182
this.showDeprecatedPythonMessage();
183
}
184
return interpreter.path.length > 0 ? [interpreter.path] : [];
0 commit comments