outputJSON(this.path, history) .then(() => console.log('History Created!')) .catch(console.error);
outputJSON(this.path, { ...history }) .then(() => console.log('History saved!')) .catch(console.error);
outputJSON(this.path, history) .then(() => console.log('History Created!')) .catch(console.error);
outputJSON(this.path, { ...history }) .then(() => console.log('History saved!')) .catch(console.error);