From cf0bcaaaad46be5a458b811b2dea4009cece8b2a Mon Sep 17 00:00:00 2001 From: Gareth Emslie Date: Tue, 6 Mar 2018 08:20:47 +0100 Subject: [PATCH] cleanup comments for findfiles rejection change --- src/deviceContext.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/deviceContext.ts b/src/deviceContext.ts index aecf4e51..0bf359bf 100644 --- a/src/deviceContext.ts +++ b/src/deviceContext.ts @@ -150,12 +150,7 @@ export class DeviceContext implements IDeviceContext, vscode.Disposable { } return this; }, (reason) => { - // Workaround for change in API. - // vscode.workspace.findFiles() for some reason now throws an error ehn path does not exist - // vscode.window.showErrorMessage(reason.toString()); - // Logger.notifyUserError("arduinoFileUnhandleError", new Error(reason.toString())); - - // Workaround for change in API, populate required props for arduino.json + // If findfiles promise is rejected we can still populate required props for arduino.json this._port = null; this._board = null; this._sketch = null;