Skip to content

[BUG] v.mod gets overwritten #32

@serkonda7

Description

@serkonda7

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions