mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
some more changes
This commit is contained in:
@@ -37,7 +37,7 @@ import logging
|
||||
import argparse
|
||||
from sys import argv
|
||||
from typing import Dict, List
|
||||
from os.path import dirname
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
from stix2 import Filter, MemoryStore, AttackPattern # type: ignore
|
||||
@@ -187,7 +187,7 @@ if __name__ == "__main__":
|
||||
"--output",
|
||||
"-o",
|
||||
type=str,
|
||||
default=f"{dirname(__file__)}/linter-data.json",
|
||||
default=str(Path(__file__).resolve().parent / "linter-data.json"),
|
||||
help="Path to output file (lint.py will be looking for linter-data.json)",
|
||||
)
|
||||
main(parser.parse_args(args=argv[1:]))
|
||||
|
||||
Reference in New Issue
Block a user