Skip to content

Commit ffc110c

Browse files
committed
Default assets path for HTML reporter
1 parent ab014cf commit ffc110c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/io/github/utplsql/api/reporter/CoverageHTMLReporter.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@
88

99
public class CoverageHTMLReporter extends Reporter {
1010

11+
// Could override Reporter.init and call ut_coverage_report_html_helper.get_default_html_assets_path from database,
12+
// but had permissions issues.
13+
public static final String DEFAULT_ASSETS_PATH = "https://utplsql.github.io/utPLSQL-coverage-html/assets/";
14+
1115
private String projectName;
1216
private String assetsPath;
1317

1418
public CoverageHTMLReporter() {
15-
19+
this(null, DEFAULT_ASSETS_PATH);
1620
}
1721

1822
public CoverageHTMLReporter(String projectName, String assetsPath) {

0 commit comments

Comments
 (0)