Skip to content

Commit 811a6cd

Browse files
committed
Pass the glob param from CLI down to the bundle fuctions
1 parent 87f1a1f commit 811a6cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ program
4040
)
4141
.option('-g, --glob <path>', 'Glob pattern of themes to bundle.')
4242
.option('-d, --debug', 'Enable logging of debugging information.')
43-
.action(({ config, debug }) => {
43+
.action(({ config, debug, glob }) => {
4444
if (debug) {
4545
logger.level = 5;
4646
}
4747

48-
require('./lib/bundle')(config).catch(logger.error);
48+
require('./lib/bundle')(config, glob).catch(logger.error);
4949
});
5050

5151
program.parse(process.argv);

0 commit comments

Comments
 (0)