Compare commits

..

No commits in common. "07415b929810719f0215f899a1cddeeb23f4795d" and "332db8e340568f2519d063650cc7a4a385ad31cb" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@navy.gif/logger",
"version": "1.2.2",
"version": "1.2.1",
"description": "Logging thing",
"main": "index.js",
"author": "Navy.gif",

View File

@ -118,7 +118,7 @@ class MasterLogger {
if (!type)
throw new Error('Missing file type');
const fileName = `${moment(date).format('YYYY-MM-DD')}-${type}.log`;
const fileName = `${moment(date).format('YYYY-MM-DD')}-${type}-${date}.log`;
const filePath = path.join(this.directory, fileName);
if (!fs.existsSync(filePath))