Skip to content

Commit 5be1360

Browse files
authored
Merge pull request #4170 from dotty-staging/fix/vulpix-windows
Fix #3373: Do not use colons in filenames, this breaks Windows
2 parents eacb5af + 16a3fb5 commit 5be1360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/dotc/reporting/TestReporter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ object TestReporter {
8686
private[this] def initLog() = if (logWriter eq null) {
8787
val date = new Date
8888
val df0 = new SimpleDateFormat("yyyy-MM-dd")
89-
val df1 = new SimpleDateFormat("yyyy-MM-dd-HH:mm:ss")
89+
val df1 = new SimpleDateFormat("yyyy-MM-dd-'T'HH-mm-ss")
9090
val folder = s"testlogs/tests-${df0.format(date)}"
9191
new JFile(folder).mkdirs()
9292
outFile = new JFile(s"$folder/tests-${df1.format(date)}.log")

0 commit comments

Comments
 (0)