lib/neetob/cli/github/yarn_audit.rb in neetob-0.5.23 vs lib/neetob/cli/github/yarn_audit.rb in neetob-0.5.24
- old
+ new
@@ -28,10 +28,10 @@
ui.success("Successfully executed yarn audit for #{repo}", print_to_audit_log: false)
rescue StandardError => e
ExceptionHandler.new(e).process
end
end
- `rm -rf /tmp/neetob`
+ `rm -rf /tmp/neetob` unless Thread.current[:audit_mode]
if Thread.current[:audit_mode]
report
end
end