Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Show full package import path for tools install result. (#1032)
Browse files Browse the repository at this point in the history
fixes #1029
  • Loading branch information
bidrohi authored and ramya-rao-a committed Jun 22, 2017
1 parent b5c490a commit 6d25042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/goInstallTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ function installTools(goVersion: SemVersion, missing?: string[]) {
let env = (envWithSeparateGoPathForTools && tool !== 'gometalinter' && tool !== 'dlv') ? envWithSeparateGoPathForTools : envForTools;
cp.execFile(goRuntimePath, ['get', '-u', '-v', tools[tool]], { env }, (err, stdout, stderr) => {
if (err) {
outputChannel.appendLine('Installing ' + tool + ' FAILED');
outputChannel.appendLine('Installing ' + tools[tool] + ' FAILED');
let failureReason = tool + ';;' + err + stdout.toString() + stderr.toString();
resolve([...sofar, failureReason]);
} else {
outputChannel.appendLine('Installing ' + tool + ' SUCCEEDED');
outputChannel.appendLine('Installing ' + tools[tool] + ' SUCCEEDED');
if (tool === 'gometalinter') {
// Gometalinter needs to install all the linters it uses.
outputChannel.appendLine('Installing all linters used by gometalinter....');
Expand Down

0 comments on commit 6d25042

Please sign in to comment.