(#770) Provide ability to see persisted arguments for installed package #908
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.
Description Of Changes
This pull request updates the code that was added previously for displaying package arguments with code to hide sensitive arguments, only do a log if the arguments file can not be found, display a message about no arguments could not be found if nothing is returned and to hide the button for viewing package arguments when the package is not installed.
Motivation and Context
The sensitive arguments are changed to not be displayed, as we do not want to dispay these arguments to the users in the possibility that they are not the same user as the one that installed the package.
Changing to logging of the file not found was to prevent duplicated dialogs to be shown, but still give the information about no arguments being available.
Additionally, there is no reason to be able to view package arguments for packages that are not installed.
Testing
Change Types Made
Related Issue
Fixes #770
Change Checklist