Skip to content

Commit

Permalink
Address RuboCop violation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mokagio committed Jun 3, 2024
1 parent e397170 commit c4cda93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test-that-all-files-are-executable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
#
# See: https://github.com/Automattic/a8c-ci-toolkit-buildkite-plugin/pull/42
context 'All Unix Commands Should Be Executable' do
Dir.children('bin')
Dir
.children('bin')
# Ignore Windows PowerShell scripts
.reject { |f| f.end_with?('.ps1') }
.map { |f| File.new(File.join('bin', f)) }.each do |file|
Expand Down

0 comments on commit c4cda93

Please sign in to comment.