valango/duke

Ruler does not honor the exclusion rules sometimes

Closed this issue · 0 comments

Example:

  const ruler = new Ruler(
    1, '*.js*', '*.vue', '!package.json;f',     // All the ordinary source files, exept 'package.json'.
    2, 'package.json'
  )
  ruler.check('package.json', T_FILE)   // results in action code 1 instead of expected 2.

This one will be fixed by today.