aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/settings.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/settings.coffee b/lib/settings.coffee
index ca41ced7..343f782a 100644
--- a/lib/settings.coffee
+++ b/lib/settings.coffee
@@ -55,6 +55,8 @@ Settings =
set: (key, value) ->
# Don't store the value if it is equal to the default, so we can change the defaults in the future.
+ # FIXME(smblott). This test is broken for exclusionRules (for which it is never true). In this case, we
+ # need some kind of structural equality (or perhaps comparison of JSONified strings).
if value == @defaults[key]
@clear key
else