mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
@@ -180,7 +180,7 @@ export class RunAutomaticTasks extends Disposable implements IWorkbenchContribut
|
||||
private _showPrompt(notificationService: INotificationService, storageService: IStorageService, openerService: IOpenerService, configurationService: IConfigurationService, taskNames: string[], locations: Map<string, URI>): Promise<boolean> {
|
||||
return new Promise<boolean>(resolve => {
|
||||
notificationService.prompt(Severity.Info, nls.localize('tasks.run.allowAutomatic',
|
||||
"This workspace has tasks ({0}) defined ({1}) that run automatically when you open this workspace. Do you want to allow automatic tasks to run in all trusted workspaces?",
|
||||
"This workspace has tasks ({0}) defined ({1}) that run shell commands automatically when you open this workspace. Do you want to allow automatic tasks to run in all trusted workspaces?",
|
||||
taskNames.join(', '),
|
||||
Array.from(locations.keys()).join(', ')
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user