This commit is contained in:
Daniel Perez Alvarez
2020-05-18 10:01:37 -07:00
committed by Gajus Kuizinas
parent 0dbb06ecc6
commit bc314be2a1
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -81,5 +81,6 @@ writeIndexCli(argv._, {
ignoreDirectories: argv.ignoreDirectories, ignoreDirectories: argv.ignoreDirectories,
ignoreUnsafe: argv.ignoreUnsafe, ignoreUnsafe: argv.ignoreUnsafe,
recursive: argv.recursive, recursive: argv.recursive,
outputFile: argv.outputFile,
updateIndex: argv.update updateIndex: argv.update
}); });
+1
View File
@@ -16,6 +16,7 @@ export default (directoryPaths, options = {}) => {
sortedDirectoryPaths = sortByDepth(directoryPaths); sortedDirectoryPaths = sortByDepth(directoryPaths);
log('Target directories', sortedDirectoryPaths); log('Target directories', sortedDirectoryPaths);
log('Output file', options.outputFile);
if (options.updateIndex) { if (options.updateIndex) {
log('Update index:', options.updateIndex ? chalk.green('true') : chalk.red('false')); log('Update index:', options.updateIndex ? chalk.green('true') : chalk.red('false'));
} else { } else {