Skip to content

Commit

Permalink
Fixing an undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pazdera committed Nov 29, 2017
1 parent 918342b commit 57853ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function _downloadRemoteConfig(root) {
},
(err, data) => {
if (err) {
return reject('Failed to download remote config: ' + error);
return reject('Unable to download remote config: ' + err);
}

Object.assign(remoteConfig, JSON.parse(data.Body.toString()));
Expand All @@ -71,7 +71,7 @@ function configure(c, kartRcPath) {
}
);
}

if (localConfig.rootBucket) {
return _downloadRemoteConfig(localConfig.rootBucket);
}
Expand Down

0 comments on commit 57853ae

Please sign in to comment.