Skip to content

Commit

Permalink
Update docs on bin/packs update (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Evanczuk authored Dec 27, 2022
1 parent 18a1093 commit 7ba50d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ GIT
PATH
remote: .
specs:
use_packs (0.0.11)
use_packs (0.0.12)
code_ownership
colorize
packwerk
Expand Down
8 changes: 4 additions & 4 deletions lib/use_packs/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ def check(*paths)
UsePacks.execute(['check', *paths])
end

desc 'update [ packs/my_pack ]', 'Run bin/packwerk update-todo'
sig { params(paths: String).void }
def update(*paths)
system("bin/packwerk update-todo #{paths.join(' ')}")
desc 'update', 'Run bin/packwerk update-todo'
sig { void }
def update
system('bin/packwerk update-todo')
end

desc 'regenerate_rubocop_todo [ packs/my_pack packs/my_other_pack ]', "Regenerate packs/*/#{RuboCop::Packs::PACK_LEVEL_RUBOCOP_TODO_YML} for one or more packs"
Expand Down
2 changes: 1 addition & 1 deletion use_packs.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'use_packs'
spec.version = '0.0.11'
spec.version = '0.0.12'
spec.authors = ['Gusto Engineers']
spec.email = ['[email protected]']

Expand Down

0 comments on commit 7ba50d6

Please sign in to comment.