mirror of
https://github.com/mandiant/capa.git
synced 2025-12-21 14:50:33 -08:00
convert str(path) usage to path.as_posix() to get str format of Path
Update fixtures.py
This commit is contained in:
@@ -917,7 +917,7 @@ def main(argv=None):
|
||||
if argv is None:
|
||||
argv = sys.argv[1:]
|
||||
|
||||
samples_path = str(Path(__file__).resolve().parent.parent / "tests" / "data")
|
||||
samples_path = (Path(__file__).resolve().parent.parent / "tests" / "data").as_posix()
|
||||
|
||||
parser = argparse.ArgumentParser(description="Lint capa rules.")
|
||||
capa.main.install_common_args(parser, wanted={"tag"})
|
||||
|
||||
Reference in New Issue
Block a user