Commit a12da10
committed
esm: remove check for trailing slash during resolve
The check was incorrectly altered in #54408, passing the bindings as argument for `this` instead of the path string.
This check not working having no significant impact on Node.js as far as I can tell, this changes removes it altogether to avoid undesired overhead.
Signed-off-by: Cynthia Rey <cynthia@cynthia.dev>1 parent 8456a12 commit a12da10
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
| 250 | + | |
254 | 251 | | |
255 | 252 | | |
256 | 253 | | |
| |||
0 commit comments