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 718d69ef7448d4cbd969f398b17485fc205676e9..9641e2253b9c510a9c3edeaa4162d73b2a8d9fb4 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"