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
In line 7, resolver is an element of resolvers, it might be an array or a boolean. If it is a boolean, it will construct resolver=[boolean, true] at line 9. And on line 11, provider will become a boolean. Is it intend to be designed this way?
The text was updated successfully, but these errors were encountered:
Thanks for your report, but it's actually a typo (updated at 8daa159), a resolver could be a plain function which will be executed every time, or a array with resolving function as the 1st element and condition as the 2nd element which is for optional execution.
I am trying to understand the code here.
vuepress/packages/@vuepress/shared-utils/src/tryChain.ts
Lines 1 to 11 in a56c3b4
In line 7,
resolver
is an element ofresolvers
, it might be an array or a boolean. If it is a boolean, it will constructresolver=[boolean, true]
at line 9. And on line 11,provider
will become a boolean. Is it intend to be designed this way?The text was updated successfully, but these errors were encountered: