Skip to content

Commit 03adc94

Browse files
LilithHafnerLilith Hafner
and
Lilith Hafner
authored
remove unnecessary anonymous function (#3158)
Co-authored-by: Lilith Hafner <[email protected]>
1 parent da496b8 commit 03adc94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/API.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ for f in (:develop, :add, :rm, :up, :pin, :free, :test, :build, :status, :why)
152152
end
153153
kwargs = merge((;kwargs...), (:io => io,))
154154
pkgs = deepcopy(pkgs) # don't mutate input
155-
foreach(pkg -> handle_package_input!(pkg), pkgs)
155+
foreach(handle_package_input!, pkgs)
156156
ret = $f(ctx, pkgs; kwargs...)
157157
$(f in (:add, :up, :pin, :free, :build)) && Pkg._auto_precompile(ctx)
158158
$(f in (:up, :pin, :free, :rm)) && Pkg._auto_gc(ctx)

0 commit comments

Comments
 (0)