You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a project with multiple modules, but i only want to enable yor tagging in a couple of directories for now, rather than letting yor tag dozens of modules at one pass
I tried variations on this format, but yor would only execute on the first path in the list
My assumption is that the args: parameter currently does not attempt to cycle through this as a list, and only passes the first argument through for the -d path (as the behaviour suggests)
is it possible to supply a list of directories? Or not?
these are some of the variations i tried (without success)
- repo: https://github.com/bridgecrewio/yorrev: 0.1.195hooks:
- id: yorname: yorentry: yor tag -dargs: ["directroy1/","directory2/"]language: golangtypes: [terraform]pass_filenames: false
or this
- repo: https://github.com/bridgecrewio/yorrev: 0.1.195hooks:
- id: yorname: yorentry: yor tag -dargs: ["directroy2/","directory1/"]language: golangtypes: [terraform]pass_filenames: false
The text was updated successfully, but these errors were encountered:
stevesoutar
changed the title
is it possible to specify a list of directories in the pre-commit args: hook?
is it possible to specify a list of directories in the pre-commit args: parameter?
Aug 13, 2024
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
i have a project with multiple modules, but i only want to enable yor tagging in a couple of directories for now, rather than letting yor tag dozens of modules at one pass
I tried variations on this format, but yor would only execute on the first path in the list
My assumption is that the args: parameter currently does not attempt to cycle through this as a list, and only passes the first argument through for the -d path (as the behaviour suggests)
is it possible to supply a list of directories? Or not?
these are some of the variations i tried (without success)
or this
The text was updated successfully, but these errors were encountered: