Commit ac1239ea authored by Joyee Cheung's avatar Joyee Cheung Committed by Daniel Bevenius
Browse files

src: fall back to env->exec_path() for default profile directory

When the current working directory is deleted, fall back to
exec_path as the default profile directory.

PR-URL: https://github.com/nodejs/node/pull/28252


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 26bd0dfc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment