comment for clarity

This commit is contained in:
2022-08-18 18:33:01 -04:00
parent 8cbfd3df5f
commit f3d5c94260
+1
View File
@@ -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