Convert bat to powershell: diffing
This commit is contained in:
parent
0e5d7b898f
commit
055270addc
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ def comparefiles(importedjsonfile, currentjsonfile) {
|
|||
\$str2 = Get-Content "temp2.txt"
|
||||
\$diffed = Compare-Object \$str1 \$str2
|
||||
if (\$diffed -ne '') {
|
||||
Write-Output "Difference between JSON files: \$diffed"
|
||||
Write-Host "Difference between JSON files: " \$diffed
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue