Skip to content

Commit

Permalink
enable user plugin cache location
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartin-tech committed Jul 23, 2024
1 parent 7ad6090 commit f746255
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion garak/_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ def default(self, obj):

class PluginCache:
_plugin_cache_file = _config.transient.basedir / "resources" / "plugin_cache.json"
_user_plugin_cache_file = _plugin_cache_file
_user_plugin_cache_file = (
_config.transient.cache_dir / "resources" / "plugin_cache.json"
)
_plugin_cache_dict = None

def __init__(self) -> None:
Expand Down

0 comments on commit f746255

Please sign in to comment.