Skip to content

Commit

Permalink
add missing file argument (fixes #118)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Doris committed Oct 22, 2023
1 parent 21eb33a commit 55a039b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 55a039b

Please sign in to comment.