mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
Fixed Path issue in cache-ruleset.py
This commit is contained in:
@@ -59,7 +59,7 @@ def main(argv=None):
|
||||
|
||||
content = capa.rules.cache.get_ruleset_content(rules)
|
||||
id = capa.rules.cache.compute_cache_identifier(content)
|
||||
path = capa.rules.cache.get_cache_path(args.cache, id)
|
||||
path = capa.rules.cache.get_cache_path(cache_dir, id)
|
||||
|
||||
assert path.exists()
|
||||
logger.info("cached to: %s", path)
|
||||
|
||||
Reference in New Issue
Block a user