Skip to content

Commit

Permalink
Merge pull request PoshCode#16 from lipkau/fix/unknownParameter
Browse files Browse the repository at this point in the history
Removed `-NoNewLine` parameter from `Set-Content`
  • Loading branch information
Jaykul committed May 1, 2018
2 parents c5e38b4 + 34e691b commit 4b81b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Metadata.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ function Update-Metadata {
).Insert($Extent.StartOffset, $Value)

if(Test-Path $Path) {
Set-Content -Encoding UTF8 -Path $Path -Value $ManifestContent -NoNewline
Set-Content -Encoding UTF8 -Path $Path -Value $ManifestContent
} else {
$ManifestContent
}
Expand Down

0 comments on commit 4b81b22

Please sign in to comment.