Skip to content

Commit

Permalink
artifact -> artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Jan 6, 2025
1 parent 675a8da commit 2e83e90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions gems/smithy/lib/smithy/polish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ def for?(_model)
true
end

# Called after the artifact is generated.
# @param _artifact [Enumerator<String, String>] The artifact that was generated.
# Called after the artifacts are generated.
# @param artifacts [Enumerator<String, String>] The artifacts that were generated.
# The key is the path of the file and the value is the content of the file.
def polish(_artifact)
# no-op
def polish(artifacts)
artifacts
end
end
end
2 changes: 1 addition & 1 deletion gems/smithy/lib/smithy/polishes/rubocop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Smithy
module Polishes
# Runs RuboCop autocorrect-all on the generated projections.
class RuboCop < Polish
def polish(_artifact)
def polish(_artifacts)
require 'rubocop'
puts "Running RuboCop --autocorrect-all on #{destination_root}"
rubocop = ::RuboCop::CLI.new
Expand Down

0 comments on commit 2e83e90

Please sign in to comment.