diff --git a/Gemfile.lock b/Gemfile.lock index 7e1ff50..daa2386 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -17,7 +17,7 @@ GIT PATH remote: . specs: - use_packs (0.0.9) + use_packs (0.0.10) code_ownership colorize packwerk @@ -130,7 +130,7 @@ GEM unicode-display_width (>= 1.4.0, < 3.0) rubocop-ast (1.21.0) parser (>= 3.1.1.0) - rubocop-packs (0.0.31) + rubocop-packs (0.0.32) activesupport parse_packwerk rubocop diff --git a/lib/use_packs/cli.rb b/lib/use_packs/cli.rb index daacd10..4951b4b 100644 --- a/lib/use_packs/cli.rb +++ b/lib/use_packs/cli.rb @@ -99,7 +99,7 @@ def validate desc 'check [ packs/my_pack ]', 'Run bin/packwerk check' sig { params(paths: String).void } def check(*paths) - system("bin/packwerk check #{paths.join(' ')}") + UsePacks.execute(['check', *paths]) end desc 'update [ packs/my_pack ]', 'Run bin/packwerk update-todo' diff --git a/use_packs.gemspec b/use_packs.gemspec index 362aa6c..07b757d 100644 --- a/use_packs.gemspec +++ b/use_packs.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = 'use_packs' - spec.version = '0.0.9' + spec.version = '0.0.10' spec.authors = ['Gusto Engineers'] spec.email = ['dev@gusto.com']