When using pnpm with rush on a Mac, the yeoman-doctor postinstall step fails. This is due to fixPath() not handling the 'normal' error code ENOTDIR, in addition to ENOENT.
Adding ENOTDIR as an allowed error resolves the problem, while keeping the logical intent of the function unchanged.
When using pnpm with rush on a Mac, the yeoman-doctor postinstall step fails. This is due to fixPath() not handling the 'normal' error code ENOTDIR, in addition to ENOENT.
Adding ENOTDIR as an allowed error resolves the problem, while keeping the logical intent of the function unchanged.