Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: minor code refactor
James Georgeb861c4a7b4bc
diff --git a/build.js b/build.jsindex 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