Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

symbol-cli.config.json - manual deletion causes failure #369

@davehodgson

Description

@davehodgson
  1. Expected: If I delete the contents of the file (or file itself) that CLI can recover and recreate it. Actual: If you empty the file, it can't add any new profiles nor can it list them

  2. Open symbol-cli.config.json delete contents, save, go to terminal and run symbol-cli profile list

  3. Ubuntu 20.04

It relies on the file having {} in it, if its empty it can't cope.

The inability to delete profiles in the CLI means this is the only obvious way to remove them, putting {} back into the file fixes it, we just need the parser/test to interpret empty file as {} or put {} back into the file if its empty and re-open

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