fix compiler trying to read .drone.yml.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-03-18 17:58:37 +01:00
parent efafbe603d
commit e4a46c161c
+5
View File
@@ -42,7 +42,12 @@ fn main() {
}
let path = Path::new(&source_dir).join(entry.file_name());
if path.to_str().unwrap().contains(".drone.yml") {
continue;
}
eprintln!("Loading manifest {}", path.to_str().unwrap());
let manifest: Manifest = serde_yaml::from_reader(File::open(path.clone()).unwrap()).unwrap();
let mut coll = SourceCollection::default();