diff --git a/Go-latest.vsix b/Go-latest.vsix index 7ded3ed29..5e00fc35d 100644 Binary files a/Go-latest.vsix and b/Go-latest.vsix differ diff --git a/src/goCheck.ts b/src/goCheck.ts index d0fa350e6..9381c25aa 100644 --- a/src/goCheck.ts +++ b/src/goCheck.ts @@ -282,14 +282,13 @@ export function check(filename: string, goConfig: vscode.WorkspaceConfiguration) } if (!!goConfig['coverOnSave']) { - let coverPromise = runTest().then(success => { + runTest().then(success => { if (!success) { return []; } // FIXME: it's not obvious that tmpCoverPath comes from runTest() return getCoverage(tmpCoverPath); }); - runningToolsPromises.push(coverPromise); } return Promise.all(runningToolsPromises).then(resultSets => [].concat.apply([], resultSets));