You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
paket install seems to overwrite paket.dependencies, uncommenting any line I've started with //. Very discomforting. Why does this happen? Why even touch that file during an install (I can understand the need during simplify and probably other commands I haven't looked into).
Install scans all references files for new packages and will add these to the dependencies file if needed. So there is a usecase where we save the dependencies file.
Usually the dependencies file will only be saved when it has a modification.
Something went wrong with the comment parsing of the dependencies file in the latest version.
All this together seems to result in the bug you noticed.
paket install
seems to overwritepaket.dependencies
, uncommenting any line I've started with//
. Very discomforting. Why does this happen? Why even touch that file during an install (I can understand the need during simplify and probably other commands I haven't looked into).I got the // from digging in the code (who knew I could read F#): https://github.com/fsprojects/Paket/blob/master/src/Paket.Core/DependenciesFile.fs#L171
I haven't ventured into looking why paket is doing this (way past my bed time), so pardon my ignorance.
The text was updated successfully, but these errors were encountered: