Closed cecep2 closed 3 years ago
Makes sense to me. Do you think we should set the variable scope to avoid the (admittedly small) risk that a global variable with the same name has already been defined? e.g.:
if begin; set -q _flag_rebuild; or test -n "$packages"; end
set -l install_cmd
set -l project_file_path
[…]
Thank you! Good point - I've updated the file accordingly and also document the change in the docs.
Nice work on this, @cecep2. Much appreciated! 💯
Currently, if my venv
project-venv
contains a.project
file, this file is not recreated when I callvf upgrade --rebuild project-venv
. I think it is reasonable to expect the 'rebuild' command to restore this file.