Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] v.mod gets overwritten #32

Open
serkonda7 opened this issue Jun 25, 2020 · 1 comment
Open

[BUG] v.mod gets overwritten #32

serkonda7 opened this issue Jun 25, 2020 · 1 comment

Comments

@serkonda7
Copy link

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
Copy link
Collaborator

nedpals commented Jun 25, 2020

Thanks for reporting it. Still in a middle of simplifying/refactoring for 0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants