Skip to content

Commit

Permalink
Small improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennykorsukewitz committed Aug 28, 2023
1 parent b384cd9 commit 3888312
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ function initAddFolderToWorkspace(context) {
workspaceURIs.push({ uri: URI });
}

if (!workspaceURIs.length) return;

// Add selected Folder to Workspace.
await updateWorkspaceAndWait(0, null, workspaceURIs);

Expand Down

0 comments on commit 3888312

Please sign in to comment.