chore: minor code refactor
This commit is contained in:
2
build.js
2
build.js
@@ -39,7 +39,7 @@ try {
|
||||
runCommand("git", ["branch"])
|
||||
.split("* ")[1]
|
||||
.split(" ")[0] + (IS_DEV_MODE ? " - DEV MODE" : "");
|
||||
if (version.variant === "" || version.variant === "master")
|
||||
if (["", "master].includes(version.variant))
|
||||
delete version.variant;
|
||||
|
||||
// Write version data into a file
|
||||
|
||||
Reference in New Issue
Block a user