Skip to content

Commit c4cda93

Browse files
committed
Address RuboCop violation
I usually use Vim for Ruby files, where I have RuboCop configured. Today, I used VS Code, where I _should have_ configured RuboCop but evidently have not.
1 parent e397170 commit c4cda93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test-that-all-files-are-executable.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
#
1313
# See: https://github.com/Automattic/a8c-ci-toolkit-buildkite-plugin/pull/42
1414
context 'All Unix Commands Should Be Executable' do
15-
Dir.children('bin')
15+
Dir
16+
.children('bin')
1617
# Ignore Windows PowerShell scripts
1718
.reject { |f| f.end_with?('.ps1') }
1819
.map { |f| File.new(File.join('bin', f)) }.each do |file|

0 commit comments

Comments
 (0)