mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
add transformers to file helpers (#2922)
* fix undefined handling in INI * beta.14 * Partial -> DeepPartial in action request * boolean laziness kills * beta.16 * misc fixes * file transformers * infer validator source argument * simplify validator * readd toml * beta.17 * filter undefined instead of parse/stringify * handle arrays of objects in filterUndefined
This commit is contained in:
@@ -147,7 +147,7 @@ impl Handler<RunAction> for ServiceActor {
|
||||
.into_idx(&action_id)
|
||||
.or_not_found(lazy_format!("{package_id} action {action_id}"))?
|
||||
.de()?;
|
||||
if !matches!(&action.visibility, ActionVisibility::Enabled) {
|
||||
if matches!(&action.visibility, ActionVisibility::Disabled(_)) {
|
||||
return Err(Error::new(
|
||||
eyre!("action {action_id} is disabled"),
|
||||
ErrorKind::Action,
|
||||
|
||||
Reference in New Issue
Block a user