workflows
workflows copied to clipboard
fix workflow - find files not containing a string
Discord username: Andrei 𓄁#5107
Description of changes (updated or new workflows)
The original workflow was a bit misleading and caused an error if it was run as-is. It used string and pattern interchangeably. Here are the issues:
-
the
patternargument is placed where thepathname/directoryargument should be. This leads to an error becausegreptries to look in thepatterndirectory or file and can't find it.
-
it hardcoded the string
"foo"instead of making it an argument.
Here are my changes in a local version of Warp.

Questions
- Is the mix of single and double quotes OK? It seems to be OK according to the YAML docs linked by
FORMAT.md. I can use escaped double quotes if needed. - Is the wording OK? My goal was to be consistent and not use 2 terms interchangeably.
- Is it better if the
directoryargument has a default of*for the current directory?