Skip to content

Commit f588506

Browse files
authored
Correct pristine command description and args (#272)
1 parent f273945 commit f588506

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/importmap/commands.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ def unpin(*packages)
4646
end
4747
end
4848

49-
desc "pristine [*PACKAGES]", "Redownload all pinned packages"
49+
desc "pristine", "Redownload all pinned packages"
5050
option :env, type: :string, aliases: :e, default: "production"
5151
option :from, type: :string, aliases: :f, default: "jspm"
52-
def pristine(*packages)
52+
def pristine
5353
packages = npm.packages_with_versions.map do |p, v|
5454
v.blank? ? p : [p, v].join("@")
5555
end

0 commit comments

Comments
 (0)