From 5f91dc460eaa704ad84d599a15ae6f607ba42d1e Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Fri, 31 Mar 2023 12:24:31 -0500 Subject: [PATCH] First working build:tm: --- commands/addPhrase.ts | 1 + 1 file changed, 1 insertion(+) 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); }