Skycoder42/dart_pre_commit

Error: Member not found: 'Hooks.create'

Closed this issue · 3 comments

New to this libarary. The method in README mostly does not work...
Windows 10. dart_pre_commit 3.0.0

git_hooks_0.1.3-nullsafety.0

Oh, my bad. I guess I forgot to update that part of the readme when changing the APIs. Have a look at the Example, there you can find how to use the library. You will have to install riverpod as well.

Note: You can skip the Directory.current = arguments.first - this is only for demo purpose. git_hooks will already set the correct directory for you

With the 4.0.0 release, the public API has changed. It is now correctly referenced in the README and the example