Skip to content

Commit

Permalink
Use workspace when getting the launch.json
Browse files Browse the repository at this point in the history
  • Loading branch information
paulacamargo25 committed Jul 17, 2024
1 parent da7ee7b commit 6ec8b4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function getConfigurationsForWorkspace(workspace: WorkspaceFolder):
const filename = path.join(workspace.uri.fsPath, '.vscode', 'launch.json');
if (!(await fs.pathExists(filename))) {
// Check launch config in the workspace file
const codeWorkspaceConfig = getConfiguration('launch');
const codeWorkspaceConfig = getConfiguration('launch', workspace);
if (!codeWorkspaceConfig.configurations || !Array.isArray(codeWorkspaceConfig.configurations)) {
return [];
}
Expand Down

0 comments on commit 6ec8b4e

Please sign in to comment.