Skip to content

Commit

Permalink
Merge pull request #1530 from rust-lang/deny-repos-under-the-archive-…
Browse files Browse the repository at this point in the history
…directory

deny repos under the `archive` directory
  • Loading branch information
jackh726 committed Sep 13, 2024
2 parents 3e3bef9 + 11b0d25 commit fcf9644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Data {

data.load_dir("repos", true, |this, org, repo: Repo, path: &Path| {
if org == "archive" {
return Ok(());
bail!("repo '{}' is located in the 'archive/' directory. Move it into the org subdirectory, e.g. 'archive/rust-lang/'", repo.name);
}

validate_repo(org, &repo, path)?;
Expand Down

0 comments on commit fcf9644

Please sign in to comment.