Skip to content

Commit f63004e

Browse files
committed
bug fix to to add brackets in right place
1 parent bc60d93 commit f63004e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/providers/execInTerminalProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class DjangoContextInitializer implements vscode.Disposable {
233233
this.disposables.push(vscode.window.onDidChangeActiveTextEditor(() => this.ensureState()));
234234
}
235235
private getActiveWorkspace(): string | undefined {
236-
if (!Array.isArray(workspace.workspaceFolders || workspace.workspaceFolders.length === 0)) {
236+
if (!Array.isArray(workspace.workspaceFolders) || workspace.workspaceFolders.length === 0) {
237237
return undefined;
238238
}
239239
if (workspace.workspaceFolders.length === 1) {

0 commit comments

Comments
 (0)