nv fixes and 1.4.1 C/L fix

toast
Kit Kasune 3 years ago
parent 7389293952
commit 837a7182d6
  1. 2
      json/changelogs/1.4.1.json
  2. 4
      newversion.js

@ -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"}} {"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"}}

@ -16,7 +16,7 @@ const ask = async () => {
cl[gn] = []; cl[gn] = [];
const addItem = async () => { const addItem = async () => {
let item = await input("Add an item: "); let item = await input("Add an item: ");
if (item.trim().toLowerCase() !== "done") { if (!['done', ''].includes(item.trim().toLowerCase())) {
cl[gn].push(item); cl[gn].push(item);
await addItem(); await addItem();
} }
@ -39,7 +39,7 @@ const ask = async () => {
cp.exec('git add .', () => { cp.exec('git add .', () => {
console.log('Staged working directory.\n'); 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 (error) {console.error(error);}
if (stdout) {console.log(stdout);} if (stdout) {console.log(stdout);}
if (stdout) {console.log(stderr);} if (stdout) {console.log(stderr);}

Loading…
Cancel
Save