Skip to content

Multiple files mode should gracefully handle file paths that are directories #33

Description

@j13k

Currently an ugly error is thrown:

 ./bin/yaml-lint ~/foo/ 
PHP Notice:  file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory in yaml-lint/src/yaml-lint.php on line 87

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions