First working build™️

master
Caleb Fontenot 2023-03-31 12:24:31 +07:00
parent 25229f0385
commit 5f91dc460e
1 changed files with 1 additions and 0 deletions

@ -38,6 +38,7 @@ function addPhrase(abbrevation, phrase) {
var jsonPath = path.join(__dirname, '..', 'abbreviation_key.json');
fs.unlinkSync(jsonPath);
fs.writeFileSync(jsonPath, jsonString, { encoding: 'utf8' }, "\t");
console.log("Added Phrase to list. JSON now contains:" + abbreviationKey);
} catch (err) {
console.error(err);
}