Permalink
Browse files

default instrumentation=off

  • Loading branch information...
1 parent c53f7c9 commit 004cc9c721c998681c930f03363a0372084c1696 @tishma tishma committed Jan 5, 2017
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/main/groovy/com/testfairy/plugins/gradle/TestFairyPlugin.groovy
@@ -325,7 +325,10 @@ class TestFairyPlugin implements Plugin<Project> {
via = " via " + project.property("testfairyUploadedBy")
}
- if(project.hasProperty("instrumentation")){
+ if(!project.hasProperty("instrumentation")){
+ // instrumentation off by default
+ entity.addPart('instrumentation', new StringBody("off"))
+ } else {
entity.addPart('instrumentation', new StringBody(project.property("instrumentation")))
}

0 comments on commit 004cc9c

Please sign in to comment.