dep icon indicating copy to clipboard operation
dep copied to clipboard

Uncaught TypeError: Type 'boolean | RegExp' is not assignable to type 'RegExp'

Open Vehmloewff opened this issue 5 years ago • 1 comments

When running any dep command, I get this error:

Check https://deno.land/x/[email protected]/lib/cli.ts
error: Uncaught TypeError: TS2322 [ERROR]: Type 'boolean | RegExp' is not assignable to type 'RegExp'.
  Type 'boolean' is not assignable to type 'RegExp'.
                const regex: RegExp = minimatch.makeRe(pattern.trim(), {dot: true, nocase: true})
                      ~~~~~
    at https://deno.land/x/[email protected]/lib/utils/filter.ts:124:10

Vehmloewff avatar Sep 10 '20 00:09 Vehmloewff

same here. any work around?

serkanyersen avatar Nov 12 '20 18:11 serkanyersen