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
When using templates, and the current dir is a hidden directory, or a hidden directory is explicitly provided via -d then comby should work on this files.
Additional context
comby 1.8.1
The text was updated successfully, but these errors were encountered:
A work around whilst there's no fix is to provide an empty template and the explicit file names, which produces a warning but will work on the files in the hidden directory:
❯ comby -config comby-patch-teamcity.toml -matcher .txt -f .kts "" "" .teamcity/* -stats
WARNING: Templates specified on the command line AND using -templates. Ignoring match
and rewrite templates on the command line and only using those in directories.
....
{
"number_of_files": 1,
"lines_of_code": 285,
"number_of_matches": 0,
"total_time": 92.39006042480469
}
Thanks for looking into this! When I try -exclude-dir "" I get:
Error parsing command line:
failed to parse -exclude-dir value "".
(Failure "Command.Spec.Arg_type.comma_separated: empty list not allowed")
For usage information, run
comby -help
Describe the bug
When using templates and the current directory is a hidden directory (or the
-d
dir is hidden) comby ignores the files.Reproducing
Expected behavior
When using templates, and the current dir is a hidden directory, or a hidden directory is explicitly provided via
-d
then comby should work on this files.Additional context
comby 1.8.1
The text was updated successfully, but these errors were encountered: