diff --git a/commands/addPhrase.ts b/commands/addPhrase.ts index f7e54c9..f5a3d96 100644 --- a/commands/addPhrase.ts +++ b/commands/addPhrase.ts @@ -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); }