Skip to content

Unsuccessful tznft invocation exits with 0 return code #3

@itkach

Description

@itkach
❯ tznft mint alice --tokens '0,T1,Igors Mega Token' '1, T2, Another One Bites The Dust'
no tznft.json config file found
Try to run tznft config-int command to create default config
unknown error:
Error: no tznft.json config file found
    at Object.loadUserConfig (/Users/itkach/dev/nft-tutorial/lib/config-util.js:61:15)
    at Object.<anonymous> (/Users/itkach/dev/nft-tutorial/lib/contracts.js:75:38)
    at Generator.next (<anonymous>)
    at /Users/itkach/dev/nft-tutorial/lib/contracts.js:27:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/itkach/dev/nft-tutorial/lib/contracts.js:23:12)
    at Object.mintNfts (/Users/itkach/dev/nft-tutorial/lib/contracts.js:72:12)
    at /Users/itkach/dev/nft-tutorial/lib/tznft.js:113:99
    at Generator.next (<anonymous>)
    at /Users/itkach/dev/nft-tutorial/lib/tznft.js:28:71

~
❯ echo $?
0

Expected result: non-zero return code

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