Skip to content

Commit

Permalink
Avoid constant README changes from top-user-agents
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinvanrijn committed Sep 30, 2023
1 parent 695b0e9 commit d8ad8c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ function writeReadme() {
}
}

// Resolved corrections
if(d[k].type === 'github' && d[k].resolved.startsWith('EIGHTFINITE/top-user-agents#')) { // top-user-agents
d[k].resolved = 'EIGHTFINITE/top-user-agents#main'
}

// Version
d[k].version = pkg.name + '@' + pkg.version

Expand Down

0 comments on commit d8ad8c5

Please sign in to comment.