Skip to content

Commit

Permalink
fix: remove Date.toLocaleString() in logfile names to prevent slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
phlmn committed Nov 16, 2018
1 parent badc3ab commit d2b1d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/logger/src/Logger.js
Expand Up @@ -77,7 +77,7 @@ class Logger {
this.logFile = fs.createWriteStream(
path.join(
process.cwd(),
`parcel-debug-${currDate.toLocaleDateString()}@${currDate.toLocaleTimeString()}.log`
`parcel-debug-${currDate.toISOString()}.log`
)
);
}
Expand Down

0 comments on commit d2b1d82

Please sign in to comment.