Convert bat to powershell: diffing
This commit is contained in:
parent
35e62958b9
commit
f0b0a3a0c1
1 changed files with 4 additions and 4 deletions
|
|
@ -10,10 +10,10 @@ def comparefiles(importedfile, currentfile, boolean ignorewhitespace = true) {
|
|||
}
|
||||
else {
|
||||
// diffutils can be installed on windows with chocolatey
|
||||
bat """
|
||||
REM echo Checking utilities exist
|
||||
where diff
|
||||
if errorlevel 1 EXIT /b 1
|
||||
powershell """
|
||||
# echo Checking utilities exist
|
||||
# where diff
|
||||
# if errorlevel 1 EXIT /b 1
|
||||
|
||||
diff -c ${wsparameter} "${importedfile}" "${currentfile}"
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue