move the journal.txt file to an ignored subdirectory

This commit is contained in:
Jesse D. McDonald 2020-04-23 22:44:11 -05:00
parent b43eee044c
commit cc36063771
2 changed files with 3 additions and 3 deletions

4
.gitignore vendored
View File

@ -1,8 +1,8 @@
node_modules
journal.txt
*.bak
*.bak2
bak/
radata/
journal/
stats.radata
.*.swp
.*.swo

View File

@ -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;
}
}