Skip to content

dotfiles in test dir cause a panic #204

@taigrr

Description

@taigrr

Prerequisites

  • [X ] Can you reproduce the problem?
  • [X ] Are you running the latest version?
  • [X ] Did you perform a cursory search?

Description

Using latest release on macos, the --dir tests cause the binary to panic because a non-yaml file, .DS_Store, exists in the directory. This also happens if there's a .gitignore or .gitattributes file present.

Steps to Reproduce

  1. Create a testing dir
  2. add a non-yaml dotfile to the directory
  3. test using --dir
  4. observe the binary panic

Expected behavior: the binary should skip hidden files

Actual behavior: the binary does not skip hidden files, and panics

Specifications

  • Version: 2.5.0
  • Platform: All

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