Linux: ENOSPC error message tweak

This commit is contained in:
Benjamin Pasero
2018-03-09 07:14:45 +01:00
committed by Joao Moreno
parent 57424ecf45
commit e957fb8f1a
@@ -124,7 +124,7 @@ export class FileService implements IFileService {
// Detect if we run into ENOSPC issues
if (msg.indexOf(FileService.ENOSPC_ERROR) >= 0 && !this.storageService.getBoolean(FileService.ENOSPC_ERROR_IGNORE_KEY, StorageScope.WORKSPACE)) {
const choices: PromptOption[] = [nls.localize('learnMore', "Instructions"), { label: nls.localize('neverShowAgain', "Don't Show Again") }];
this.notificationService.prompt(Severity.Warning, nls.localize('enospcError', "{0} is running out of file handles. Please follow the instructions link to resolve this issue.", product.nameLong), choices).then(choice => {
this.notificationService.prompt(Severity.Warning, nls.localize('enospcError', "{0} is unable to watch for file changes in this large workspace. Please follow the instructions link to resolve this issue.", product.nameLong), choices).then(choice => {
switch (choice) {
case 0 /* Read More */:
window.open('https://go.microsoft.com/fwlink/?linkid=867693');