From cc360637715a3b9485bdeb08387b2ac86fdf7a70 Mon Sep 17 00:00:00 2001 From: Jesse McDonald Date: Thu, 23 Apr 2020 22:44:11 -0500 Subject: [PATCH] move the journal.txt file to an ignored subdirectory --- .gitignore | 4 ++-- index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0991c20..1e78bac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ node_modules journal.txt -*.bak -*.bak2 +bak/ radata/ +journal/ stats.radata .*.swp .*.swo diff --git a/index.js b/index.js index 78c4999..32e0ed0 100644 --- a/index.js +++ b/index.js @@ -49,7 +49,7 @@ let lastJournalText = null; function appendJournal(text) { if (text !== lastJournalText) { - fs.appendFileSync('journal.txt', text + '\n'); + fs.appendFileSync('journal/journal.txt', text + '\n'); lastJournalText = text; } }