Add comment for invalidTaskJsonOther string

Part of #100941
This commit is contained in:
Alex Ross 2020-06-29 09:28:53 +02:00
parent 574779eb61
commit d59430ffaa

View file

@ -1874,7 +1874,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
}
}
if (isAffected) {
this._outputChannel.append(nls.localize('TaskSystem.invalidTaskJsonOther', 'Error: The content of the tasks json in {0} has syntax errors. Please correct them before executing a task.\n', location));
this._outputChannel.append(nls.localize({ key: 'TaskSystem.invalidTaskJsonOther', comment: ['Message notifies of an error in one of several places there is tasks related json, not necessarily in a file named tasks.json'] }, 'Error: The content of the tasks json in {0} has syntax errors. Please correct them before executing a task.\n', location));
this.showOutput();
return { config, hasParseErrors: true };
}