If any kind of change has been committed to the .lando.yml file, the init process fails in future inits. It appears that when ~/.pantheonlocaldev/scripts/pull.sh runs line 118 and fetches the remote branch/multidev name, Localdev updates line 1 of the .lando.yml file to the name of the multidev. It then throws this error:
{"level":"warn","message":"problem pulling code from panthcse!","label":"gj-na-website_panthcse","timestamp":"2020-09-16T20:09:53.949Z"} {"level":"error","message":"pulling code from panthcse errored with: error: Your local changes to the following files would be overwritten by checkout:\n\t.lando.yml\nPlease commit your changes or stash them before you switch branches.\nAborting\n","label":"gj-na-website_panthcse","timestamp":"2020-09-16T20:09:53.950Z"}
This may be unrelated, but I also noticed using the 'Destroy' button does not remove the the environments directory and files from ~/Localdev/: https://i.imgur.com/plTzOfO.png
MacOS: v10.15.6 Docker Desktop: v2.3.0.3 LocalDev: v0.10.1
If any kind of change has been committed to the
.lando.yml
file, the init process fails in future inits. It appears that when~/.pantheonlocaldev/scripts/pull.sh
runs line 118 and fetches the remote branch/multidev name, Localdev updates line 1 of the.lando.yml
file to the name of the multidev. It then throws this error:{"level":"warn","message":"problem pulling code from panthcse!","label":"gj-na-website_panthcse","timestamp":"2020-09-16T20:09:53.949Z"} {"level":"error","message":"pulling code from panthcse errored with: error: Your local changes to the following files would be overwritten by checkout:\n\t.lando.yml\nPlease commit your changes or stash them before you switch branches.\nAborting\n","label":"gj-na-website_panthcse","timestamp":"2020-09-16T20:09:53.950Z"}
This may be unrelated, but I also noticed using the 'Destroy' button does not remove the the environments directory and files from
~/Localdev/
: https://i.imgur.com/plTzOfO.png