mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Install tools service relative to extension (#437)
This commit is contained in:
@@ -100,10 +100,9 @@ export default class ServiceDownloadProvider {
|
|||||||
basePath = installDirFromConfig;
|
basePath = installDirFromConfig;
|
||||||
} else if (this._fromBuild) {
|
} else if (this._fromBuild) {
|
||||||
basePath = path.join(__dirname, '../../../../../extensions/' + extensionConfigSectionName + '/' + installDirFromConfig);
|
basePath = path.join(__dirname, '../../../../../extensions/' + extensionConfigSectionName + '/' + installDirFromConfig);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// The path from config is relative to the out folder
|
// The path from config is relative to the out folder
|
||||||
basePath = path.join(__dirname, '../../../../' + installDirFromConfig);
|
basePath = path.join(__dirname, '../../../../' + extensionConfigSectionName + '/' + installDirFromConfig);
|
||||||
}
|
}
|
||||||
return basePath;
|
return basePath;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user