Skip to content

Commit 6e8e76b

Browse files
authored
Remove obligation to have a CVE ID in every advisory
1 parent 93ad725 commit 6e8e76b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Rakefile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@ namespace :lint do
1010
abort "Please run `gem install rspec` to install RSpec."
1111
end
1212
end
13-
14-
task :cve do
15-
Dir.glob('{gems,libraries,rubies}/*/*.yml') do |path|
16-
advisory = YAML.load_file(path)
17-
18-
unless advisory['cve']
19-
puts "Missing CVE: #{path}"
20-
end
21-
end
22-
end
2313
end
2414

2515
desc "Sync GitHub RubyGem Advisories into this project"
@@ -28,5 +18,5 @@ task :sync_github_advisories do
2818
GitHub::GitHubAdvisorySync.sync
2919
end
3020

31-
task :lint => ['lint:yaml', 'lint:cve']
21+
task :lint => ['lint:yaml']
3222
task :default => :lint

0 commit comments

Comments
 (0)