Closed sudhirdhumal289 closed 2 years ago
Thanks for reaching out, but this is correct.
You are using the latest released (and usable) version published on crates.io, v0.11.2, however, you are trying to use a the hook-as-array feature that does not exist in your version; the array support was added in the unusable, unreleased v0.12.0 (https://github.com/swellaby/rusty-hook/blob/master/CHANGELOG.md#added, refs #171)
Environment Details
Description
Somehow git hooks were not registered after removing .git/hooks, crate dependency. So removed cargo cache, removed project and pulled it back now its working but getting error that config file is not valid
I'm using workspace feature, which contains one binary crate and binary crate itself depends on rusty-hook and rust-hook.toml file is present in workspace root directory.
.rusty-hook.toml
file contents:Tried removing environment variables as well but getting same error. Error: