Kaynağa Gözat

hide background-save option

Gildas 5 yıl önce
ebeveyn
işleme
3377748e81
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      cli/args.js

+ 1 - 1
cli/args.js

@@ -30,7 +30,6 @@ const args = require("yargs")
 		yargs.positional("output", { description: "Output filename", type: "string" });
 	})
 	.default({
-		"background-save": true,
 		"back-end": "puppeteer",
 		"browser-headless": true,
 		"browser-executable-path": "",
@@ -201,6 +200,7 @@ const args = require("yargs")
 	.options("output-directory", { description: "Path to where to save files, this path must exist." })
 	.string("output-directory")
 	.argv;
+args.backgroundSave = true;
 args.compressCSS = args.compressCss;
 args.compressHTML = args.compressHtml;
 args.includeBOM = args.includeBom;