Skip to content

PDK Validate doesn't validate nested yaml files #1444

Open
@bcannoff

Description

@bcannoff

Describe the bug
The wildcard for the .yaml .yml .eyaml and .eyml files doesn't include all subdirectories, so not all yaml files are checked.

To Reproduce

  • create a "data" directory at the root
  • create a subfolder in the data directory
  • create a yaml file in the new subdirectory with an error in it
  • run pdk validate - the file isn't checked

Expected behavior
The subdirectory match should work the same as
pdk bundle exec rake syntax

Additional context

  • Your PDK installation method (native packages or via Rubygems): Native apt
    • (If via Rubygems, please include your Ruby version ruby -v)
  • Your PDK version (pdk --version): 3.4.0
  • Your operating system / platform: WSL Ubuntu 24.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions