Skip to content

path: fix basename() regressions

Checklist
  • tests and code linting passes
  • a test and/or benchmark is included
  • the commit message follows commit guidelines
Affected core subsystem(s)
  • path
Description of change

This commit fixes a regression in basename() for the case when a supplied extension name completely matches the resulting basename.

Fixes: https://github.com/nodejs/node/issues/6587

Merge request reports

Loading