Skip to content

Failing validation for optional output file #101

Closed

Description

@StarvingMarvin

When glob returns a list of one file, it will successfully match output that is declared as 'File'. if output is union ['null', 'File'], output validation will fail because it tries to validate it as a list of files.

Activity

  1. tetron commented on Aug 8, 2015

    @tetron
    Member

    Yep, that's a bug.

  2. mr-c commented on Feb 16, 2016

    @mr-c
    Member

    I believe this was fixed so I am closing this issue.

  3. added a commit that references this issue on Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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