Skip to content

Explicit returned value is missing  #3853

@chinesedfan

Description

@chinesedfan
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When I was reading source codes of next.js, I found an interesting place, https://github.com/zeit/next.js/blob/canary/lib/router/router.js#L138.

We'd better to return true there? Those codes were introduced by #1250.

Current Behavior

Return without explicit boolean value.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions