diff --git a/json/changelogs/1.4.1.json b/json/changelogs/1.4.1.json index e84d465..6d56082 100644 --- a/json/changelogs/1.4.1.json +++ b/json/changelogs/1.4.1.json @@ -1 +1 @@ -{"log":{"Files":["Added more file icons","Added more file extensions in the Type column","Extension-only file names now show icons and extensions"],"Scrollbar":["Added a custom, colorful scrollbar!","It's very pretty, and so are you <3"]},"version":{"name":"Alpha","semver":"1.4.1"}} \ No newline at end of file +{"log":{"Files":["Added more file icons","Added more file extensions in the Type column","Extension-only file names now show icons and extensions"],"Scrollbar":["Added a custom, colorful scrollbar!","It's very pretty, and so are you <3"],"Linux":["Began supporting Linux","Not yet fully stable, or at least fully tested"]},"version":{"name":"Alpha","semver":"1.4.1"}} \ No newline at end of file diff --git a/newversion.js b/newversion.js index 4984e1d..7068470 100755 --- a/newversion.js +++ b/newversion.js @@ -16,7 +16,7 @@ const ask = async () => { cl[gn] = []; const addItem = async () => { let item = await input("Add an item: "); - if (item.trim().toLowerCase() !== "done") { + if (!['done', ''].includes(item.trim().toLowerCase())) { cl[gn].push(item); await addItem(); } @@ -39,7 +39,7 @@ const ask = async () => { cp.exec('git add .', () => { console.log('Staged working directory.\n'); - cp.exec(`npm version ${v.trim().toLowerCase()} -m "%s -> ${msg}"`, function(error, stdout, stderr) { + cp.exec(`npm version ${v.trim().toLowerCase()} -f -m "%s -> ${msg}"`, function(error, stdout, stderr) { if (error) {console.error(error);} if (stdout) {console.log(stdout);} if (stdout) {console.log(stderr);}