Skip to content

Commit

Permalink
auto-create for program
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Mar 31, 2024
1 parent 667d351 commit 68e79a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eva/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ pub enum LvarOp {
#[allow(clippy::case_sensitive_file_extension_comparisons)]
#[inline]
pub fn sender_allowed_auto_create(sender: &str) -> bool {
sender.contains(".controller.") || sender.contains(".plc.") || sender.ends_with(".plc")
sender.contains(".controller.")
|| sender.contains(".plc.")
|| sender.ends_with(".plc")
|| sender.ends_with(".program")
}

pub enum ActionLaunchResult {
Expand Down

0 comments on commit 68e79a5

Please sign in to comment.