From b861c4a7b4bc9cd09180278ab07dcc937309132d Mon Sep 17 00:00:00 2001 From: James George Date: Wed, 18 Sep 2019 14:32:54 +0530 Subject: [PATCH] chore: minor code refactor --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index e16304317..18a8b9608 100644 --- a/build.js +++ b/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