Skip to content

Commit 70f4a99

Browse files
Fixes #40 - Code coverage report not produced on Windows platforms
1 parent 0b77dac commit 70f4a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqldev/src/main/java/org/utplsql/sqldev/CodeCoverageReporter.xtend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class CodeCoverageReporter {
7777
logger.fine('''Running code coverage reporter for «pathList»...''')
7878
val dal = new UtplsqlDao(conn)
7979
val content = dal.htmlCodeCoverage(pathList, toStringList(schemas), toStringList(includeObjects), toStringList(excludeObjects))
80-
val file = File.createTempFile("utplsql_", "html")
80+
val file = File.createTempFile("utplsql_", ".html")
8181
logger.fine('''Writing result to «file.absolutePath»...''')
8282
Files.write(Paths.get(file.absolutePath), content.split(System.lineSeparator), StandardCharsets.UTF_8);
8383
val url = file.toURI().toURL().toExternalForm()

0 commit comments

Comments
 (0)