Skip to content

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ifuture-pro committed Feb 29, 2020
1 parent dd7721f commit 86ef2b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ if (args.h || args.help) {
}

if (args.exclude_dir) {
ignoredDirs.push.apply(ignoredDirs,args.exclude_dir);
if (args.exclude_dir instanceof Array) {
ignoredDirs.push.apply(ignoredDirs,args.exclude_dir);
} else {
ignoredDirs.push(args.exclude_dir);
}
}

let config = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ifuture/listify",
"version": "1.0.1",
"version": "1.0.2",
"description": "Auto generate table of contents at full-site",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 86ef2b9

Please sign in to comment.