Skip to content

Commit a345e8d

Browse files
committed
fix linting
Signed-off-by: Christoph Hartmann <[email protected]>
1 parent 4626ccc commit a345e8d

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

Berksfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# encoding: utf-8
2-
32
source 'https://supermarket.chef.io'
43

54
metadata
65

7-
cookbook 'apt'
6+
cookbook 'apt'

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace :style do
1818
FoodCritic::Rake::LintTask.new(:chef) do |t|
1919
t.options = {
2020
fail_tags: ['any'],
21-
progress: true
21+
progress: true,
2222
}
2323
end
2424
rescue LoadError

attributes/hardening.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
'more_clear_headers' => [
4545
'\'Server\'',
46-
'\'X-Powered-By\''
46+
'\'X-Powered-By\'',
4747
],
4848

4949
'client_header_buffer_size' => '1k',
@@ -67,8 +67,8 @@
6767
'X-Content-Type-Options nosniff',
6868

6969
# XSS filter
70-
'X-XSS-Protection "1; mode=block"'
71-
]
70+
'X-XSS-Protection "1; mode=block"',
71+
],
7272

7373
}
7474

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
description 'Configures nginx hardening'
2323
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
2424

25-
version "2.0.0"
25+
version '2.0.0'
2626

2727
issues_url 'https://github.com/dev-sec/chef-nginx-hardening/issues'
2828
source_url 'https://github.com/dev-sec/chef-nginx-hardening'

0 commit comments

Comments
 (0)