Install tools service relative to extension (#437)

This commit is contained in:
Karl Burtram
2018-01-03 17:02:01 -08:00
committed by GitHub
parent ecc978a695
commit c9067a0baf

View File

@@ -100,10 +100,9 @@ export default class ServiceDownloadProvider {
basePath = installDirFromConfig;
} else if (this._fromBuild) {
basePath = path.join(__dirname, '../../../../../extensions/' + extensionConfigSectionName + '/' + installDirFromConfig);
}
else {
} else {
// The path from config is relative to the out folder
basePath = path.join(__dirname, '../../../../' + installDirFromConfig);
basePath = path.join(__dirname, '../../../../' + extensionConfigSectionName + '/' + installDirFromConfig);
}
return basePath;
}