Skip to content

Commit a347b3d

Browse files
committed
Make Rubocop happy
1 parent b6d0ec3 commit a347b3d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ require "rubocop/rake_task"
1313

1414
RuboCop::RakeTask.new
1515

16-
task default: %i[test rubocop]
16+
task default: [:test, :rubocop]

shopify-ruby-definitions.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
2121
# Specify which files should be added to the gem when it is released.
2222
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
2323
spec.files = Dir.chdir(__dir__) do
24-
`git ls-files -z`.split("\x0").reject do |f|
24+
%x(git ls-files -z).split("\x0").reject do |f|
2525
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
2626
end
2727
end

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
3+
$LOAD_PATH.unshift(File.expand_path("../lib", __dir__))
44
require "shopify_ruby_definitions"
55

66
require "minitest/autorun"

0 commit comments

Comments
 (0)