mirror of
https://github.com/iTracerFacer/DCS_MissionDev.git
synced 2025-12-03 04:14:46 +00:00
Fixed last -whatif.. right? ;)
This commit is contained in:
parent
4a19c393e4
commit
89acc135fe
@ -105,7 +105,7 @@ if (-not $runInWhatIfMode) {
|
|||||||
# Create a single backup of existing Moose_.lua if it exists and backup doesn't exist yet
|
# Create a single backup of existing Moose_.lua if it exists and backup doesn't exist yet
|
||||||
if ((Test-Path $MooseLuaPath) -and -not (Test-Path $backupPath)) {
|
if ((Test-Path $MooseLuaPath) -and -not (Test-Path $backupPath)) {
|
||||||
Write-Host " Creating backup: $backupPath" -ForegroundColor Gray
|
Write-Host " Creating backup: $backupPath" -ForegroundColor Gray
|
||||||
Copy-Item $MooseLuaPath $backupPath -Force
|
Copy-Item $MooseLuaPath $backupPath -Force -WhatIf:$false
|
||||||
}
|
}
|
||||||
|
|
||||||
# Download the file
|
# Download the file
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user