Skip to content

Commit

Permalink
fix: add L
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jul 4, 2022
1 parent 037eaf5 commit a16d494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export async function analyzeDependency({
router.method,
router.path,
router.middlewares.join(", ").split(/\r?\n/g).join(" "),
`${rootBaseUrl}${toRelative(result.filePath)}#L${router.loc.start.line}-${router.loc.end.line}`
`${rootBaseUrl}${toRelative(result.filePath)}#L${router.loc.start.line}-L${router.loc.end.line}`
]);
});
}
Expand Down

0 comments on commit a16d494

Please sign in to comment.