bin/veracodecli in veracodecli-1.0.22 vs bin/veracodecli in veracodecli-1.1.0
- old
+ new
@@ -80,8 +80,9 @@
abort 'Please specify slack token in config.yml' if ((!defined? Settings.slack_token) && (options.slack_upload.eql? 'yes'))
abort 'Please specify slack channel in config.yml' if ((!defined? Settings.slack_channel) && (options.slack_upload.eql? 'yes'))
options.app_name.gsub! /[-_]/, ''
file = VeracodeApiMacros.get_pdf_macro options.app_name
Slack.send_to_slack file if (options.slack_upload.eql? 'yes')
+ File.delete file
end
end
end