Skip to content

Commit

Permalink
fix: agent deactivation via system property
Browse files Browse the repository at this point in the history
Signed-off-by: Joke de Buhr <joke@xckk.de>
  • Loading branch information
joke committed Nov 6, 2022
1 parent 315c35e commit db901d5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public static void install() {
protected AgentInstaller init() {
if (parseBoolean(getProperty("spock-mockable.disabled", "false"))) {
log.info("@Mockable transformation is disabled by system property 'spock-mockable.disabled=true'");
return this;
}

if (referenceLoader().hasClasses()) {
Expand Down

0 comments on commit db901d5

Please sign in to comment.