Skip to content

Commit 895e2d3

Browse files
committed
fixed update
1 parent 6be9a22 commit 895e2d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

MM.Hive.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)