Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from

Conversation

joyeecheung
Copy link
Member

src: save exec path when initializing Environment

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.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

When the current working directory is deleted, fall back to
exec_path as the default profile directory.
@nodejs-github-bot
Copy link
Collaborator

Sadly, an error occurred when I tried to trigger a build. :(

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Jun 16, 2019
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@joyeecheung joyeecheung added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 18, 2019
@danbev
Copy link
Contributor

danbev commented Jun 19, 2019

Landed in 26bd0df, and ac1239e.

@danbev danbev closed this Jun 19, 2019
danbev pushed a commit that referenced this pull request Jun 19, 2019
PR-URL: #28252
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
danbev pushed a commit that referenced this pull request Jun 19, 2019
When the current working directory is deleted, fall back to
exec_path as the default profile directory.

PR-URL: #28252
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
targos pushed a commit that referenced this pull request Jul 2, 2019
PR-URL: #28252
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
targos pushed a commit that referenced this pull request Jul 2, 2019
When the current working directory is deleted, fall back to
exec_path as the default profile directory.

PR-URL: #28252
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@targos targos mentioned this pull request Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants