Skip to content

Conversation

adityapatwardhan
Copy link
Member

@adityapatwardhan adityapatwardhan commented Apr 18, 2019

PR Summary

PR #9271 broke the attribute validation on the Add-PathTToSettings function. This PR converts the custom attribute to a function and validates using ValidateScript attribute.

PR Context

We cannot use custom attribute as classes are not supported on PowerShell versions below 5.0.

PR Checklist

@adityapatwardhan adityapatwardhan merged commit 99c3fd1 into PowerShell:master Apr 18, 2019
@adityapatwardhan adityapatwardhan added the CL-NotInBuild Indicates that a PR is reverted and not part of the build. label Apr 18, 2019
@adityapatwardhan adityapatwardhan deleted the FixInstallPS branch April 18, 2019 19:50
@TravisEz13 TravisEz13 added CL-Tools Indicates that a PR should be marked as a tools change in the Change Log and removed CL-NotInBuild Indicates that a PR is reverted and not part of the build. labels Apr 18, 2019
@TravisEz13 TravisEz13 added this to the 7.0.0-preview.1 milestone Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CL-Tools Indicates that a PR should be marked as a tools change in the Change Log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants