Don't fail import of groups as long as some imports succeed (#358)
* Don't fail import of groups as long as some imports succeed
This commit is contained in:
parent
4176d61bfc
commit
9e018c36da
|
@ -265,7 +265,14 @@ async fn run_command(
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
if !errors.is_empty() {
|
if !errors.is_empty() {
|
||||||
return Err(FlakeInfoError::Group(errors));
|
|
||||||
|
if exports.is_empty() {
|
||||||
|
return Err(FlakeInfoError::Group(errors));
|
||||||
|
}
|
||||||
|
warn!("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
|
||||||
|
warn!("Some group members could not be evaluated: {}", FlakeInfoError::Group(errors));
|
||||||
|
warn!("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let hash = {
|
let hash = {
|
||||||
|
|
Loading…
Reference in a new issue