Skip to content

Commit 51d98d2

Browse files
author
l
committed
simplify error handling
1 parent b4a80a1 commit 51d98d2

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/bin/pr-metadata-validator.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -285,12 +285,6 @@ async fn check_pr_file_changes(
285285
};
286286
let directory_description_regex = directory_regex_captures
287287
.get(1)
288-
.with_context(|| {
289-
format!(
290-
"Check CHANGE_DIR declaration in issue {}",
291-
task_issue.html_url
292-
)
293-
})
294288
.expect("Regex capture failed to return string match")
295289
.as_str(); // Only allows a single directory for now
296290

0 commit comments

Comments
 (0)