Skip to content

Commit

Permalink
Applying PR suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jmartinezramirez committed Jun 3, 2024
1 parent eee93bb commit ee437de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/net/snowflake/client/AbstractDriverIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public static String getFullPathFileInResource(String fileName) {
URL url = classLoader.getResource(fileName);
if (url != null) {
try {
return Paths.get(url.toURI()).toFile().getAbsolutePath();
return Paths.get(url.toURI()).toAbsolutePath().toString();
} catch (URISyntaxException ex) {
throw new RuntimeException("Unable to get absolute path: " + fileName);
}
Expand Down

0 comments on commit ee437de

Please sign in to comment.