Skip to content

Commit ec75743

Browse files
committed
style: after update dep dev
1 parent dc9f63c commit ec75743

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/cli.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ const cli = meow(`
4949
alias: 'o'
5050
},
5151
use: {
52-
type: 'array',
53-
alias: 'u'
52+
type: 'string',
53+
alias: 'u',
54+
isMultiple: true
5455
},
5556
root: {
5657
type: 'string',
@@ -84,7 +85,7 @@ const processing = async file => {
8485
const plugins = Array.isArray(config.plugins) ? config.plugins : getPlugins(config);
8586

8687
makeDir(path.dirname(output))
87-
.then(read.bind(null, file))
88+
.then(read.bind(undefined, file))
8889
.then(html => posthtml(plugins).process(html))
8990
.then(({html}) => {
9091
fs.writeFile(output, html, error => {

0 commit comments

Comments
 (0)