diff --git a/src/goGetPackage.ts b/src/goGetPackage.ts index 3af583f36..10481ea60 100644 --- a/src/goGetPackage.ts +++ b/src/goGetPackage.ts @@ -4,6 +4,7 @@ import vscode = require('vscode'); import cp = require('child_process'); import { getImportPath, getCurrentGoPath, getBinPath } from './util'; import { outputChannel } from './goStatus'; +import { buildCode } from './goBuild'; export function goGetPackage() { const editor = vscode.window.activeTextEditor; @@ -29,7 +30,7 @@ export function goGetPackage() { outputChannel.show(); outputChannel.clear(); outputChannel.appendLine(stderr); - + buildCode(); return; }