Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Better error generation if file doesn't exist #95

@binarymist

Description

@binarymist

It would be good if when type was 'file' that if the file didn't exist at the path specified by defaultValue that parsed.j would be falsy so we could handle the error.

I just found this bug where if the file at path doesn't exist, nothing happens. We had to implement some hacky logic to make error handling occur. See this change.

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