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!
This commit is contained in:
parent
71be5a10e9
commit
39ccd06141
1 changed files with 1 additions and 1 deletions
|
|
@ -422,7 +422,7 @@ async function build() {
|
|||
if (args['--purge']) {
|
||||
log.warn(['The `--purge` flag has been deprecated.', 'Please use `--content` instead.'])
|
||||
if (!args['--content']) {
|
||||
args['--content'] = ['--purge']
|
||||
args['--content'] = args['--purge']
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue