-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1) When convertfrom-yaml is being used on a yaml file and if an error occurs while parsing it, then the file cannot be modified until the powershell session is closed. Fixed it using $streamReader.Close() 2) Extracted the common code in the if and else section of convertfrom-yaml to make code more readable.
- Loading branch information
Nitish Janawadkar
committed
Apr 24, 2018
1 parent
dd668fa
commit db4b578
Showing
3 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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