fix(tools): Use endsWith instead of regex (#40888)
fix(tools): Use endsWith instead of regex (#40888)


raisedadead/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,raisedadead/FreeCodeCamp