Skip to content

Commit 4a0a7ea

Browse files
committed
Make already running task message a warning
Fixes microsoft#104869
1 parent 8933143 commit 4a0a7ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
15281528
if (this._taskSystem?.isTaskVisible(executeResult.task)) {
15291529
const message = nls.localize('TaskSystem.activeSame.noBackground', 'The task \'{0}\' is already active.', executeResult.task.getQualifiedLabel());
15301530
let lastInstance = this.getTaskSystem().getLastInstance(executeResult.task) ?? executeResult.task;
1531-
this.notificationService.prompt(Severity.Info, message,
1531+
this.notificationService.prompt(Severity.Warning, message,
15321532
[{
15331533
label: nls.localize('terminateTask', "Terminate Task"),
15341534
run: () => this.terminate(lastInstance)

0 commit comments

Comments
 (0)