Fix service downloader in lab build scripts (#625)

This commit is contained in:
Karl Burtram
2018-02-07 03:12:08 -05:00
committed by GitHub
parent ce4e7f4bef
commit 8e11e460b5

View File

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