Skip to content

Commit 0d9a635

Browse files
authored
Update PyRevitCaches.cs
1 parent 09adaca commit 0d9a635

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

dev/pyRevitLabs/pyRevitLabs.PyRevit/PyRevitCaches.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ public static void ClearCache(int revitYear) {
3232
RevitController.KillRunningRevits(revitYear);
3333
CommonUtils.DeleteDirectory(GetCacheDirectory(revitYear));
3434
}
35-
// it's just clearing caches. Let's not be paranoid and throw an exception if directory does not exist
36-
// if it's not there, the clear cache request is technically already satisfied
3735
else
38-
// throw new pyRevitResourceMissingException(pyRevitAppDataPath);
3936
logger.Debug($"{PyRevitLabsConsts.PyRevitPath} directory not found, nothing to clear.");
4037
}
4138

0 commit comments

Comments
 (0)