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.
1 parent 74a01f9 commit 32d3eb0Copy full SHA for 32d3eb0
lib/tasks/tasks.rake
@@ -27,6 +27,7 @@ namespace :secure_headers do
27
file.write(script_hashes.to_yaml)
28
end
29
30
- puts "Script hashes from " + script_hashes.keys.size.to_s + " files added to #{SecureHeaders::Configuration::HASH_CONFIG_FILE}"
+ file_count = (script_hashes["scripts"].keys + script_hashes["styles"].keys).uniq.count
31
+ puts "Script and style hashes from #{file_count} files added to #{SecureHeaders::Configuration::HASH_CONFIG_FILE}"
32
33
0 commit comments