PhoenicisOrg/scripts

Wrong method usage in "Mass Effect" Installer

madoar opened this issue · 3 comments

plata commented

Shouldn't ESLint find this kind of issues?

No because syntactically speaking this is correct JavaScript syntax. You're passing a function to the tr function. The issue is that the tr function can't process it correctly. This would either lead to a runtime error or an unexpected output.

plata commented

You're right.