Fix flag conflict check in build script (#17264)

This commit is contained in:
werenike authored and GitHub committed 2025-03-19 00:21:27 +08:00
1 parent c58cf7ab5f
commit 3fefa83943
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ function parseArguments() {
strict: true,
});
if (values.minify && values.noMinify) {
if (values.minify && values["no-minify"]) {
throw new Error("'--minify' and '--no-minify' can't be used together.");
}