Skip to content

Commit

Permalink
chore(urlRule): Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Aug 12, 2017
1 parent 6196a7e commit 264d027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/url/urlRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class UrlRuleFactory {
const makeRule = pattern([
[isString, (_what: string) => makeRule(this.compile(_what))],
[is(UrlMatcher), (_what: UrlMatcher) => this.fromUrlMatcher(_what, handler)],
[isState, (_what: StateObject) => this.fromState(_what, this.router)],
[isState, (_what: StateObject) => this.fromState(_what, this.router)],
[is(RegExp), (_what: RegExp) => this.fromRegExp(_what, handler)],
[isFunction, (_what: UrlRuleMatchFn) => new BaseUrlRule(_what, handler as UrlRuleHandlerFn)],
]);
Expand Down

0 comments on commit 264d027

Please sign in to comment.