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

Launch browser with argument user-data-dir specified without directory junction. #1656

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

NotAndOr
Copy link
Contributor

It fixes #1633 on OS Windows, let me know if there is some introduced impact not taken into my account, for example some unanticipated side effect on OS other than Windows.

try {
fs.mkdirSync(this.storagePath);
} catch (e) {}
if (!fs.existsSync(this.storagePath)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The if checks should not be necessary for recursive mkdirSync

Copy link
Contributor Author

@NotAndOr NotAndOr Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, I have confirmed by testing that error EEXIST can be thrown by mkdirSync only when not recursive, so existsSync is unnecessary.
That commit has been amended.

… NOT work if USER_DATA_DIR comes as or with any parent as directory junction, which may fail Microsoft Edge DevTools.
@connor4312 connor4312 enabled auto-merge (squash) April 13, 2023 15:51
@connor4312
Copy link
Member

connor4312 commented May 3, 2023

Belated thanks for the PR! Unfortunately release notes have already been cut for this iteration, but you'll be in the "thank you" section in the next release at the end of this month / beginning of next

NotAndOr added a commit to NotAndOr/microsoft.vscode-js-debug that referenced this pull request Jun 27, 2024
NotAndOr added a commit to NotAndOr/microsoft.vscode-js-debug that referenced this pull request Jun 27, 2024
NotAndOr added a commit to NotAndOr/microsoft.vscode-js-debug that referenced this pull request Jun 27, 2024
NotAndOr added a commit to NotAndOr/microsoft.vscode-js-debug that referenced this pull request Jun 27, 2024
NotAndOr added a commit to NotAndOr/vscode-js-debug that referenced this pull request Jun 27, 2024
NotAndOr added a commit to NotAndOr/microsoft.vscode-js-debug that referenced this pull request Aug 2, 2024
NotAndOr added a commit to NotAndOr/vscode-js-debug that referenced this pull request Oct 8, 2024
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.

3 participants