File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,8 +210,8 @@ $PreviousVersions | foreach {
210210 $OldTime = Join-Path $PreviousPath " Build\Data"
211211 if (Test-Path $OldBackup )
212212 {
213- if (-not (Test-Path " Backup" )){New-Item " Backup" - Item - Type " directory" | Out-Null }
214- if (-not (Test-Path " Stats" )){New-Item " Stats" - Item - Type " directory" | Out-Null }
213+ if (-not (Test-Path " Backup" )){New-Item " Backup" - ItemType " directory" | Out-Null }
214+ if (-not (Test-Path " Stats" )){New-Item " Stats" - ItemType " directory" | Out-Null }
215215 Get-ChildItem - Path " $ ( $OldMiners ) \*" - Include * .ps1 - Recurse | Copy-Item - Destination " .\Miners" - force
216216 Get-ChildItem - Path " $ ( $OldBackup ) \*" - Include * .txt - Recurse | Copy-Item - Destination " .\Stats" - force
217217 Get-ChildItem - Path " $ ( $OldBackup ) \*" - Include * .txt - Recurse | Copy-Item - Destination " .\Backup" - force
You can’t perform that action at this time.
0 commit comments