Skip to content

Commit

Permalink
Fixes cacheFolder test
Browse files Browse the repository at this point in the history
  • Loading branch information
Maël Nison committed Apr 6, 2017
1 parent c1ba8ce commit 7687e14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ config.init({
binLinks: commander.binLinks,
modulesFolder: commander.modulesFolder,
globalFolder: commander.globalFolder,
cacheRootFolder: commander.cacheFolder,
cacheFolder: commander.cacheFolder,
preferOffline: commander.preferOffline,
captureHar: commander.har,
ignorePlatform: commander.ignorePlatform,
Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export default class Config {
networkTimeout: this.networkTimeout,
});
this._cacheRootFolder = String(
opts.cacheRootFolder ||
opts.cacheFolder ||
this.getOption('cache-folder') ||
constants.MODULE_CACHE_DIRECTORY,
);
Expand Down

0 comments on commit 7687e14

Please sign in to comment.