Skip to content

More robust Path testing in Select-UnitySetupInstance - #206

Merged
Josh Wittner (jwittner) merged 1 commit into
microsoft:developfrom
jwittner:fix/passingNullPathToSusi
May 21, 2020
Merged

More robust Path testing in Select-UnitySetupInstance#206
Josh Wittner (jwittner) merged 1 commit into
microsoft:developfrom
jwittner:fix/passingNullPathToSusi

Conversation

@jwittner

Copy link
Copy Markdown
Member

This allows the paths to be different cases and use different folder separators. It also safely handles null being passed.

This change fixes Test-UnitySetupInstance, which would previously report 'false' if a Path wasn't specified.

@jwittner Josh Wittner (jwittner) mentioned this pull request May 21, 2020
24 tasks

@derekfreed Derek (derekfreed) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like a good change using the Begin statement to check the path!

@derekfreed Derek (derekfreed) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

checks out

@jwittner
Josh Wittner (jwittner) merged commit aa70e5e into microsoft:develop May 21, 2020
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.

2 participants