Convert bat to powershell: diffing

This commit is contained in:
Dan Hawkins 2021-07-01 08:41:01 +01:00
commit 35e62958b9

View file

@ -37,7 +37,7 @@ def comparefiles(importedjsonfile, currentjsonfile) {
if (\$lastexitcode -ge 1) { exit 1 }
# echo Diffing sorted json files
diff.exe -c .\temp1.txt .\temp2.txt
diff.exe -c temp1.txt temp2.txt
\$lec = \$lastexitcode
Remove-Item temp1.txt