Skip to content

Commit

Permalink
replaced errorMessage with outputchannel
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippPolterauer committed Feb 9, 2024
1 parent 04d71ae commit a7198a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ async function sourceRosAndWorkspace(): Promise<void> {
// Replace all occurrences of '${workspaceFolder}' with the workspace string
rosSetupScript = rosSetupScript.replace(regex, vscode.workspace.workspaceFolders[0].uri.fsPath);
} else {
vscode.window.showErrorMessage(`Multiple or No workspaces found, but the ROS setup script setting \"ros.rosSetupScript\" is configured with '${rosSetupScript}'`);
outputChannel.appendLine(`Multiple or no workspaces found, but the ROS setup script setting \"ros.rosSetupScript\" is configured with '${rosSetupScript}'`);
}
}

Expand Down

0 comments on commit a7198a1

Please sign in to comment.