Skip to content

Commit

Permalink
minor tweaks after #2287 #2288
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Mar 30, 2023
1 parent 0bc5a80 commit acca863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions karate-core/src/main/java/com/intuit/karate/Suite.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ public Suite(Runner.Builder rb) {
outputHtmlReport = false;
outputCucumberJson = false;
outputJunitXml = false;
var contextClassLoader = Thread.currentThread().getContextClassLoader();
ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
if (contextClassLoader != null) {
classLoader = Thread.currentThread().getContextClassLoader();
classLoader = contextClassLoader;
} else {
classLoader = getClass().getClassLoader();
}
Expand Down

0 comments on commit acca863

Please sign in to comment.