From 39ccd0614153e45474d9f321f1a4d76573bf9df1 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Wed, 29 Sep 2021 23:33:43 +0200 Subject: [PATCH] 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! --- src/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.js b/src/cli.js index 3835136d2..2e49a63a9 100644 --- a/src/cli.js +++ b/src/cli.js @@ -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'] } }