Skip to content

Why is Actions in .github folder not included in ./**/*.yaml #15316

Discussion options

You must be logged in to vote

👋 @andreas-lundgren-qlucore! This might be to do with glob unwrapping in bash. Try running

npx prettier "./**/*.yaml" --check
## or
npx prettier './**/*.yaml' --check
## instead of
npx prettier ./**/*.yaml --check

I don’t know bash well, but I guess that in the first two cases Prettier gets a glob and in the latter case it gets a list of files provided by bash.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andreas-lundgren-qlucore
Comment options

Answer selected by andreas-lundgren-qlucore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants