[BUG] v.mod gets overwritten
Opened this issue · 1 comments
serkonda7 commented
When running a vpkg command many lines in the v.mod file are deleted.
Module {
name: 'symlinker',
description: 'Utility to manage symlinks',
author: 'Lukas Neubert <lukas.neubert3@gmail.com>',
license: 'MIT',
repo_url: 'https://github.com/Serkonda/symlinker',
version: '0.4.0',
dependencies: ['chalk']
}
is stripped down to this:
Module {
name: 'symlinker',
version: '0.4.0',
deps: ['chalk']
}
First error is that the deps
property is not conform with the official v.mod and should be changed to dependencies
.
Second I think that vpkg should not alter any line except the dependencies array. So that all the other information is kept.
nedpals commented
Thanks for reporting it. Still in a middle of simplifying/refactoring for 0.8