Skip to content

Set storage drive before changing directory on windows - #17875

Merged
Kartik Raj (karrtikr) merged 5 commits into
microsoft:mainfrom
afikrim:afikrim/set-drive-before-dir-windows
Oct 29, 2021
Merged

Kartik Raj (karrtikr) merged 5 commits into
microsoft:mainfrom
afikrim:afikrim/set-drive-before-dir-windows

Conversation

@afikrim

@afikrim Aziz Fikri (afikrim) commented Oct 28, 2021 •

Copy link
Copy Markdown

Hi! I create a pull request to fix issue #14730
Please review my PR, thanks.

Closes #14730

@ghost

Deleted user (ghost) commented Oct 28, 2021 •

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@karrtikr Kartik Raj (karrtikr) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Perfect PR (almost), thanks!

@afikrim

Copy link
Copy Markdown
Author

Thanks for the review, I'll check my codes again

@afikrim

Copy link
Copy Markdown
Author

I have changed my codes as mentioned above

@karrtikr Kartik Raj (karrtikr) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks for working through my comments.

@afikrim

Copy link
Copy Markdown
Author

I tried to add a new test for this,
Ensure we do not change drive if current drive letter is same as the file drive letter on windows

And update current test from workspace.getWorkspaceFolder to workspace.rootPath

@karrtikr Kartik Raj (karrtikr) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@karrtikr
Kartik Raj (karrtikr) merged commit c1d0fae into microsoft:main Oct 29, 2021
@afikrim
Aziz Fikri (afikrim) deleted the afikrim/set-drive-before-dir-windows branch October 31, 2021 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants