diff --git a/src/goImport.ts b/src/goImport.ts index 72c838f9b..7b6cee95c 100644 --- a/src/goImport.ts +++ b/src/goImport.ts @@ -74,13 +74,13 @@ export function listPackages(excludeImportedPkgs: boolean = false): Thenable 0) { + if (vendorIndex > -1) { let rootProjectForVendorPkg = path.join(currentWorkspace, pkg.substr(0, vendorIndex)); let relativePathForVendorPkg = pkg.substring(vendorIndex + magicVendorString.length);