Skip to content

fix: report a removed cwd from absPath - #101

Merged
HaoZeke merged 1 commit into
developfrom
fix/abspath-removed-cwd
Nov 26, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/abspath-removed-cwd

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

fsx.absPath joined a relative path onto the (deleted) suffix /proc gives for a removed working directory. os.path.abspath raises ENOENT from getcwd there. Return that error.

absPath's error set widens from Allocator.Error to Error || Allocator.Error; proc.resolveExecutable maps the new error to a failed lookup.

`fsx.absPath` joined a relative path onto the `(deleted)` suffix
`/proc` gives for a removed working directory. `os.path.abspath`
raises `ENOENT` from `getcwd` there. Return that error.
@HaoZeke
HaoZeke merged commit ce15584 into develop Nov 26, 2026
8 checks passed
@HaoZeke
HaoZeke deleted the fix/abspath-removed-cwd branch November 26, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant