Skip to content

Commit 39ccd06

Browse files
authored
Fix fallback argument in CLI (#5646)
I don't know exactly what happened here, but it seems like I screwed this trivial fallback up in a spectacular way... anyway, here to fix it!
1 parent 71be5a1 commit 39ccd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ async function build() {
422422
if (args['--purge']) {
423423
log.warn(['The `--purge` flag has been deprecated.', 'Please use `--content` instead.'])
424424
if (!args['--content']) {
425-
args['--content'] = ['--purge']
425+
args['--content'] = args['--purge']
426426
}
427427
}
428428

0 commit comments

Comments
 (0)