Skip to content

Commit d69e232

Browse files
committed
don't require output to be in temp, just resolve it
1 parent 2da41f9 commit d69e232

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

check-project-links/_find_project_links.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,7 @@ def _main() -> int:
114114
safe_project_directory = os.path.realpath(project_directory, strict=True)
115115
safe_project_directory = _safe_under(os.getcwd(), safe_project_directory)
116116
allowed_domains = args.allowed_domains
117-
118-
runner_temp = os.environ.get("RUNNER_TEMP")
119-
if not runner_temp:
120-
raise RuntimeError("RUNNER_TEMP is required for output files.")
121-
safe_output_path = _safe_under(runner_temp, os.path.realpath(args.output_path, strict=True))
117+
safe_output_path = os.path.realpath(args.output_path, strict=True)
122118

123119
allowed: set[str] = set()
124120
for raw_domain in allowed_domains.split(","):

0 commit comments

Comments
 (0)