Skip to content

Commit 05fdc05

Browse files
author
Catherine Lee
committed
tc
1 parent 31bf5de commit 05fdc05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/linter/adapters/run_from_link_linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def main() -> None:
5757
args = parse_args()
5858

5959
location = REPO_ROOT / ".lintbin" / "from_link" / "adapters"
60+
location.mkdir(parents=True, exist_ok=True)
6061

6162
if args.lint_link:
6263
download_file(args.lint_link, location / args.lint_name)
@@ -65,7 +66,6 @@ def main() -> None:
6566
download_file(args.init_link, location / args.init_name)
6667

6768
if args.run_init:
68-
location.mkdir(parents=True, exist_ok=True)
6969
# Save the content to a file named after the name argument
7070
subprocess_args = ["python3", location / args.init_name] + args.args_for_file
7171
subprocess.run(subprocess_args, check=True)

0 commit comments

Comments
 (0)