Update make-it-so.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Fri, 9 Aug 2019 01:29:36 +0000 (18:29 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 9 Aug 2019 01:29:36 +0000 (18:29 -0700)
official/make-it-so.groovy

index 718d69e..9641e22 100755 (executable)
@@ -72,10 +72,10 @@ private restoreState(mode)
                                log.debug "setting $it.label level to $level"
                                it.setLevel(level)
                        }
-                       else {
+                       //else { We want the worst case!(No need for else)
                                log.debug "turning $it.label on"
                                it.on()
-                       }
+                       //}
                }
                else if (value?.switch == "off") {
                        log.debug "turning $it.label off"