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
The problem seems to be that the pre-commit hook passes in this symlink path directly to $tidyall->process_paths. Then in process_path we check if $path->is_dir which returns true, and we error out because the commit hook didn't set the recursive flag to true.
I'm not sure what the best fix is here. I think it might be to simply handle symlinks explicitly by following them, or maybe at least add that as an option.
The text was updated successfully, but these errors were encountered:
The problem seems to be that the pre-commit hook passes in this symlink path directly to
$tidyall->process_paths
. Then inprocess_path
we check if$path->is_dir
which returns true, and we error out because the commit hook didn't set the recursive flag to true.I'm not sure what the best fix is here. I think it might be to simply handle symlinks explicitly by following them, or maybe at least add that as an option.
The text was updated successfully, but these errors were encountered: