Fix path again
This commit is contained in:
parent
4d3b296dc3
commit
eafda6ce77
@ -18,10 +18,10 @@ function AppStore(origin) {
|
||||
accessToken: null
|
||||
};
|
||||
|
||||
if (fs.existsSync(path.join(__dirname, 'ecosystem-staging.json'))) {
|
||||
this._ecosystem = require(path.join(__dirname, 'ecosystem-staging.json')); // staging appstore
|
||||
if (fs.existsSync(path.join(__dirname, '../ecosystem.json'))) {
|
||||
this._ecosystem = require(path.join(__dirname, '../ecosystem.json')); // staging appstore
|
||||
} else {
|
||||
this._ecosystem = require(path.join(__dirname, '..', 'keys', 'appstore', 'ecosystem-staging.json'));
|
||||
this._ecosystem = require(path.join(__dirname, '../keys/appstore/ecosystem-staging.json'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user