diff --git a/src/deps.jl b/src/deps.jl index e5af80d..25558a0 100644 --- a/src/deps.jl +++ b/src/deps.jl @@ -217,7 +217,7 @@ function add(pkgs::AbstractVector; resolve=true, file=cur_deps_file(), kw...) for pkg in pkgs add!(toml, pkg) end - write_deps(toml) + write_deps(toml; file) STATE.resolved = false resolve && CondaPkg.resolve(; kw...) return @@ -273,7 +273,7 @@ function rm(pkgs::AbstractVector; resolve=true, file=cur_deps_file(), kw...) for pkg in pkgs rm!(toml, pkg) end - write_deps(toml) + write_deps(toml; file) STATE.resolved = false resolve && CondaPkg.resolve(; kw...) return