Skip to content

Commit

Permalink
Fix: Add the missing link-folder flag (#4235)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis authored Aug 23, 2017
1 parent e6211fe commit 840acbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export function main({
commander.option('--pure-lockfile', "don't generate a lockfile");
commander.option('--frozen-lockfile', "don't generate a lockfile and fail if an update is needed");
commander.option('--link-duplicates', 'create hardlinks to the repeated modules in node_modules');
commander.option('--link-folder <path>', 'specify a custom folder to store global links');
commander.option('--global-folder <path>', 'specify a custom folder to store global packages');
commander.option(
'--modules-folder <path>',
Expand Down Expand Up @@ -341,6 +342,7 @@ export function main({
.init({
binLinks: commander.binLinks,
modulesFolder: commander.modulesFolder,
linkFolder: commander.linkFolder,
globalFolder: commander.globalFolder,
preferredCacheFolder: commander.preferredCacheFolder,
cacheFolder: commander.cacheFolder,
Expand Down

0 comments on commit 840acbf

Please sign in to comment.