From 364bcf73ee33b42a43cea4c884736aca11b59b77 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 23 Feb 2024 18:02:58 +0800 Subject: [PATCH] Write format result directly to file And not print to stdout. --- src/webui/www/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/package.json b/src/webui/www/package.json index 6be44e273..f62e214f5 100644 --- a/src/webui/www/package.json +++ b/src/webui/www/package.json @@ -6,7 +6,7 @@ "url": "https://github.com/qbittorrent/qBittorrent.git" }, "scripts": { - "format": "js-beautify private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && prettier --write **.css", + "format": "js-beautify -r private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && prettier --write **.css", "lint": "eslint private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && stylelint **/*.css && html-validate private public" }, "devDependencies": {