Skip to content

Commit

Permalink
Fixed modal window link issue when moduleName has special character
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun Ananth Velliangiri committed Jan 27, 2022
1 parent 1e0f070 commit 1de357d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/lib/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ Handlebars.registerHelper(
(severity: string) => severityMap[severity]?.number
)

Handlebars.registerHelper(
'nameHandler',
(input) => {
return input.replace('@',"").replace('/',"-")
})
Handlebars.registerHelper('nameHandler', input => {
return input.replace('@', '').replace('/', '-')
})

0 comments on commit 1de357d

Please sign in to comment.