Thanks to visit codestin.com Credit goes to github.com
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 51c54b9 commit e3869bfCopy full SHA for e3869bf
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