Skip to content

Issue with catalog.json structure when using download assets command #2

@cappuccinoako

Description

@cappuccinoako

When using ./linklike download assets <catalog_path> <download_directory> with the provided catalog.json
With the current catalog.json structure

[
    {},
    {},
    ...,
    {}
]

It will cause: Error: invalid type: map, expected a sequence at line 2 column 2

I change catalog.json structure to

[
    [
        {},
        {},
        {},
        ...,
        {}
    ]
]

and the ./linklike download assets <catalog_path> <download_directory> command works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions