Skip to content

Commit

Permalink
clean: add last-env directory too
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Mar 22, 2023
1 parent 0671844 commit 44f49a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/opamCommands.ml
Original file line number Diff line number Diff line change
Expand Up @@ -4096,6 +4096,7 @@ let clean cli =
cleandir (OpamPath.Switch.build_dir root sw);
cleandir (OpamPath.Switch.remove_dir root sw);
cleandir (OpamPath.Switch.extra_files_dir root sw);
cleandir (OpamPath.Switch.last_env root sw);
let pinning_overlay_dirs =
List.map
(fun nv -> OpamPath.Switch.Overlay.package root sw nv.name)
Expand Down

0 comments on commit 44f49a4

Please sign in to comment.