Skip to content

Commit

Permalink
Allow customising yui default value
Browse files Browse the repository at this point in the history
  • Loading branch information
timja committed Dec 10, 2024
1 parent 445736f commit 9f33f62
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.Nullable;
import hudson.Extension;
import jenkins.util.SystemProperties;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.NoExternalUse;

Expand All @@ -51,6 +52,6 @@ public String getShortDescription() {
@NonNull
@Override
public Boolean getDefaultValue() {
return true;
return SystemProperties.getBoolean(RemoveYuiUserExperimentalFlag.class.getName() + ".defaultValue", true);
}
}

0 comments on commit 9f33f62

Please sign in to comment.