We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc60d93 commit f63004eCopy full SHA for f63004e
src/client/providers/execInTerminalProvider.ts
@@ -233,7 +233,7 @@ class DjangoContextInitializer implements vscode.Disposable {
233
this.disposables.push(vscode.window.onDidChangeActiveTextEditor(() => this.ensureState()));
234
}
235
private getActiveWorkspace(): string | undefined {
236
- if (!Array.isArray(workspace.workspaceFolders || workspace.workspaceFolders.length === 0)) {
+ if (!Array.isArray(workspace.workspaceFolders) || workspace.workspaceFolders.length === 0) {
237
return undefined;
238
239
if (workspace.workspaceFolders.length === 1) {
0 commit comments