summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/model.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/oxidized/model/model.rb b/lib/oxidized/model/model.rb
index d8f5fe2..6e44039 100644
--- a/lib/oxidized/model/model.rb
+++ b/lib/oxidized/model/model.rb
@@ -80,6 +80,11 @@ module Oxidized
self.class.cmds[:all].each do |all_block|
out = instance_exec out, string, &all_block
end
+ if CFG.remove_secret?
+ self.class.cmds[:secret].each do |all_block|
+ out = instance_exec out, string, &all_block
+ end
+ end
out = instance_exec out, &block if block
out
end