Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
oldrev committed Oct 7, 2024
1 parent 00cdd2b commit 9b2d327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/runtime/eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ pub async fn evaluate_node_property_value(
(RedPropertyType::Num, RedPropertyValue::Constant(v)) => v,
(RedPropertyType::Bool, RedPropertyValue::Constant(v)) => v,
(RedPropertyType::Bin, RedPropertyValue::Constant(v)) => v,
(RedPropertyType::Date, RedPropertyValue::Constant(v)) => v,
(RedPropertyType::Json, RedPropertyValue::Constant(v)) => v,

(RedPropertyType::Env, RedPropertyValue::Constant(v)) => v,

(RedPropertyType::Date, RedPropertyValue::Runtime(value)) => match value.as_str() {
Expand Down
1 change: 1 addition & 0 deletions crates/core/src/runtime/model/red_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ impl RedPropertyType {
| RedPropertyType::Json
| RedPropertyType::Bin
| RedPropertyType::Bool
| RedPropertyType::Re
)
}
}
Expand Down

0 comments on commit 9b2d327

Please sign in to comment.