dzt/shopify-monitor

semicolons in error log file name

Closed this issue · 3 comments

fs.writeFile(`./logs/${timeStamp}.err`, body, (err) => {

writing the timestamp as the log file name includes semicolons which causes the log files not to be saved.

dzt commented

Good Looks man I'll be sure to resolve the issue.

still not corrected, it's giving me something like this now
\logs\undefeated.com_Wed Nov 22 2017 03:30:06 GMT+0000 (Coordinated Universal Time).err