Skip to content

Commit a900b7a

Browse files
committed
log file needs the time too, as i can push over 50 commits in a single day
1 parent d040d56 commit a900b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions/logFileUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55

66
function generateLogFileName() {
77
const date = new Date();
8-
return `webgfa-${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}.log`;
8+
return `webgfa-${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}-${date.getHours()}-${date.getMinutes()}.log`;
99
}
1010
function getLogFileName(file) {
1111
if (!file) return null;

0 commit comments

Comments
 (0)