mirror of https://github.com/gogits/gogs.git
Browse Source
Comparing the `.match()` against `false` always returns false, even if `match()` finds nothing and returns `null`. Switched comparison to use `RegExp.test` at the same time for performance (and for simple true or false return type)pull/316/head
Andrew Patton
11 years ago
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue