comment for clarity
This commit is contained in:
@@ -17,6 +17,7 @@ ForEach ( $path in $RevitLocalPaths ) {
|
||||
$baseName = $revitfile.BaseName
|
||||
$BackupDir = "${parentDir}\${basename}_backup"
|
||||
|
||||
# Only remove Revit local files that have worksharing enabled
|
||||
If ( (Test-Path "${revitfile}") -and (Test-Path "${BackupDir}")) {
|
||||
LogMsg "Deleting ""${revitfile}"" and backup directory ""${BackupDir}"""
|
||||
Remove-Item "${revitfile}" -Force -ErrorAction SilentlyContinue
|
||||
|
||||
Reference in New Issue
Block a user