We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8be42e commit 904d146Copy full SHA for 904d146
dev/pyRevitLabs/pyRevitLabs.PyRevit/PyRevitCaches.cs
@@ -32,10 +32,10 @@ public static void ClearCache(int revitYear) {
32
RevitController.KillRunningRevits(revitYear);
33
CommonUtils.DeleteDirectory(GetCacheDirectory(revitYear));
34
}
35
- else
36
// it's just clearing caches. Let's not be paranoid and throw an exception if directory does not exist
37
// if it's not there, the clear cache request is technically already satisfied
38
- // throw new pyRevitResourceMissingException(pyRevitAppDataPath);
+ else
+ // throw new pyRevitResourceMissingException(pyRevitAppDataPath);
39
logger.Debug($"{PyRevitLabsConsts.PyRevitPath} directory not found, nothing to clear.");
40
41
0 commit comments