Skip to content

Why does the following error occur? * '[base].exclude' expected type 'string', got unconvertible type '[]interface {}', value: '[examples/** docs/**]' #4188

Closed Answered by toshiki31
toshiki31 asked this question in Q&A
Discussion options

You must be logged in to vote

This issue has been resolved. The version of lefthook I was using was 1.6.0, which did not support the exclude option introduced in version 1.7.3 and later. This was the cause of the problem.

https://github.com/evilmartians/lefthook/releases/tag/v1.7.3

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@toshiki31
Comment options

@toshiki31
Comment options

Answer selected by hirotomoyamada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants