Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtreier committed Oct 2, 2024
1 parent ded9ce7 commit f1b133e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private String getEnvBuildDate() {

@SneakyThrows
private String readClasspathFile(String fileName) {
var is = getClass().getResourceAsStream(fileName);
var is = getClass().getClassLoader().getResourceAsStream(fileName);
Objects.requireNonNull(is, "File not found: " + fileName);
return IOUtils.toString(is, StandardCharsets.UTF_8);
}
Expand Down

0 comments on commit f1b133e

Please sign in to comment.