Fix remote and S3 detection
This commit is contained in:
@@ -213,6 +213,10 @@ const _getDataDirectory = () => {
|
||||
return _resolvePath(Constants.DATA_LOCATIONS[os.platform()]);
|
||||
};
|
||||
|
||||
const _getRepertoryDirectory = () => {
|
||||
return _resolvePath(Constants.REPERTORY_LOCATIONS[os.platform()]);
|
||||
};
|
||||
|
||||
const _getDefaultRepertoryArgs = (provider, remote, s3) => {
|
||||
const providerLower = provider.toLowerCase();
|
||||
const args = [];
|
||||
@@ -728,6 +732,8 @@ module.exports.getConfigTemplate = (version, provider, remote, s3) => {
|
||||
|
||||
module.exports.getDataDirectory = _getDataDirectory;
|
||||
|
||||
module.exports.getRepertoryDirectory = _getRepertoryDirectory;
|
||||
|
||||
module.exports.getMissingDependencies = dependencies => {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (!dependencies) {
|
||||
|
||||
Reference in New Issue
Block a user