Skip to content

Commit

Permalink
fix urls that have )., just after them, #946
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed May 8, 2023
1 parent 885a919 commit c469083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint/rules/todo-should-have-issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const path = require( 'path' );
const fs = require( 'fs' );

const issueShorthandRegex = /#(\d+)/;
const urlRegex = /https:\/\/github.com\/phetsims\/[^\s]*/;
const urlRegex = /https:\/\/github.com\/phetsims\/[-\w]+\/issues\/\d+/;
const filename = 'issuesFromTODOs.txt';
const todoIssuesFilepath = path.resolve( __dirname, `../../dist/${filename}` );

Expand Down

0 comments on commit c469083

Please sign in to comment.