fix: correct all the references to @create-index

This commit is contained in:
Gajus Kuizinas
2016-11-29 17:45:54 +00:00
parent d7e2528999
commit ab6c399241
6 changed files with 14 additions and 15 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ import {
const argv = yargs
.demand(1)
.options({
'update': {
update: {
alias: 'u',
default: false,
description: 'Recursively iterates target directories looking for "index.js" files that start with "\'create index\';\\n" (create-index index file). Updates found index files. Does not create new index files.',
description: 'Recursively iterates target directories looking for "index.js" files that start with "// @create-index\\n" (create-index index file). Updates found index files. Does not create new index files.',
type: 'boolean'
}
})
+1 -2
View File
@@ -1,4 +1,4 @@
'create index';
// @create-index
export createIndexCode from './createIndexCode.js';
export findIndexFiles from './findIndexFiles.js';
@@ -8,4 +8,3 @@ export sortByDepth from './sortByDepth.js';
export validateTargetDirectory from './validateTargetDirectory.js';
export writeIndex from './writeIndex.js';
export writeIndexCli from './writeIndexCli.js';