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 0589a6d commit 2e17b7dCopy full SHA for 2e17b7d
nodescraper/cli/cli.py
@@ -437,7 +437,10 @@ def main(arg_input: Optional[list[str]] = None):
437
438
if parsed_args.reference_config:
439
ref_config = generate_reference_config(results, plugin_reg, logger)
440
- path = os.path.join(os.getcwd(), "reference_config.json")
+ if log_path:
441
+ path = os.path.join(log_path, "reference_config.json")
442
+ else:
443
+ path = os.path.join(os.getcwd(), "reference_config.json")
444
try:
445
with open(path, "w") as f:
446
json.dump(
0 commit comments