This repository was archived by the owner on Jul 15, 2023. It is now read-only.
Keep the last used cover profile path#3119
Merged
ramya-rao-a merged 2 commits intomicrosoft:masterfrom Mar 26, 2020
Merged
Conversation
Signed-off-by: Alexandre Vilain <alexandre.vilain@me.com>
ramya-rao-a
reviewed
Mar 25, 2020
| if (!coverProfilePath) { | ||
| return; | ||
| } | ||
| updateWorkspaceState(lastCoverProfilePathKey, coverProfilePath); |
Contributor
There was a problem hiding this comment.
We can skip updating the state if the same value was used
ramya-rao-a
approved these changes
Mar 25, 2020
Contributor
ramya-rao-a
left a comment
There was a problem hiding this comment.
Looks like this is your first PR contribution to this project, Thanks & Welcome!
I have just one suggested change, please do take a look.
ramya-rao-a
suggested changes
Mar 25, 2020
Contributor
ramya-rao-a
left a comment
There was a problem hiding this comment.
Changing review state to wait on suggested change
ramya-rao-a
approved these changes
Mar 26, 2020
Contributor
ramya-rao-a
left a comment
There was a problem hiding this comment.
Pushed a change to update the workspace state only if the provided value is different from the last used path and if the provided path is valid
Contributor
|
The changes here are available in the latest beta version of this extension. |
Contributor
Author
|
Hi @ramya-rao-a ! Thanks :) |
Contributor
|
This change is now available in the latest version of this extension. Thanks @alexandrevilain! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Alexandre Vilain alexandre.vilain@me.com
Fixes #3118