Skip to content

Commit

Permalink
deny repos under the archive directory
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoIeni committed Aug 23, 2024
1 parent af4d34d commit 11b0d25
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 11b0d25

Please sign in to comment.