aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/zap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/zap.rb')
-rw-r--r--lib/sisu/v5/zap.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v5/zap.rb b/lib/sisu/v5/zap.rb
index 9d3cd10c..908d33d1 100644
--- a/lib/sisu/v5/zap.rb
+++ b/lib/sisu/v5/zap.rb
@@ -71,14 +71,14 @@ module SiSU_Zap
zap_path="#{@env.path.output}/#{@env.fnb}"
z=SiSU_Env::CleanOutput.new(@opt)
if SiSU_Env::InfoSettings.new.permission?('zap')
- unless @opt.cmd =~/q/
- tell=SiSU_Screen::Ansi.new(@opt.cmd,"Clean files related to processing #{@opt.cmd} ->","#{@opt.fns} -> #{zap_path}")
+ unless @opt.act[:quiet][:set]==:on
+ tell=SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],"Clean files related to processing #{@opt.cmd} ->","#{@opt.fns} -> #{zap_path}")
tell.warn
end
z.zap.remove_output
else
- unless @opt.cmd =~/q/
- tell=SiSU_Screen::Ansi.new(@opt.cmd,'use of -Z (zap) has not enabled in sisurc.yml')
+ unless @opt.act[:quiet][:set]==:on
+ tell=SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],'use of -Z (zap) has not enabled in sisurc.yml')
tell.warn
end
end