Skip to content

Removed 3 lines in lib/github_advisory_sync.rb script to get rid of unneeded debug text #637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/github_advisory_sync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,6 @@ def create(package)
# The second block of yaml in a .yaml file is ignored (after the second "---" line)
# This effectively makes this data a large comment
# Still it should be removed before the data goes into rubysec
file.write "\n\n# GitHub advisory data below - **Remove this data before committing**\n"
file.write "# Use this data to write patched_versions (and potentially unaffected_versions) above\n"
file.write advisory.merge("vulnerabilities" => vulnerabilities).to_yaml
end
puts "Wrote: #{filename_to_write}"
filename_to_write
Expand Down