Skip to content

Commit 68ee0b2

Browse files
committed
fix: incorrect argument, close #257
1 parent 682215c commit 68ee0b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function processing(file, output) {
4343
plugins = [].concat(use, cfg).map((plugin) => {
4444
try {
4545
return require(plugin)(argv[plugin])
46-
} catch (e) {
46+
} catch (err) {
4747
if (err.code === 'MODULE_NOT_FOUND') {
4848
throw new TypeError('Plugin Error: Cannot find module ' + plugin);
4949
}

0 commit comments

Comments
 (0)