cloudformation-guard
cloudformation-guard copied to clipboard
Find files recursively when using the github action
I had the issue that the github action would not recurse into the given data
directory.
This PR solves that, and applies the same fix to the rules
directory.
Notes:
- Feel free to rewrite this / recreate this, the changes are trivial
- Actual changes in
guard/ts-lib/index.ts
andaction/package.json
. Other changes are from runningnpm run build:typescript
andnpm run package
. - The support of
.path
seems tricky, it compiles and works for me, but is also maybe marked ad deprecated in nodejs 22 (https://nodejs.org/api/fs.html#class-fsdirent), using parentPath failed for me (and I don't know enough js/ts to debug)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license