We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a44c94 + 5d58876 commit ab74affCopy full SHA for ab74aff
controls/os_spec.rb
@@ -276,7 +276,7 @@
276
it { should be_directory }
277
end
278
279
- loaded_files = command("find #{cpuvulndir} -type f -maxdepth 1").stdout.split(/\n/).map(&:strip).find_all { |vulnfiles| !vulnfiles.empty? }
+ loaded_files = command("find #{cpuvulndir} -type f -maxdepth 1").stdout.split(/\r?\n/).map(&:strip).find_all { |vulnfiles| !vulnfiles.empty? }
280
281
loaded_files.each do |vulnfile|
282
describe file(vulnfile) do
0 commit comments