First working build™️
This commit is contained in:
parent
6990926829
commit
63999b9286
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user