File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/extensions/tedge_flows/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ impl Actor for FlowsMapper {
5050 let Ok ( path) = Utf8PathBuf :: try_from( path) else {
5151 continue ;
5252 } ;
53- if matches!( path. extension( ) , Some ( "js" | "ts" ) ) {
53+ if matches!( path. extension( ) , Some ( "js" | "ts" | "mjs" ) ) {
5454 self . processor. reload_script( path) . await ;
5555 } else if path. extension( ) == Some ( "toml" ) {
5656 self . processor. reload_flow( path) . await ;
@@ -70,7 +70,7 @@ impl Actor for FlowsMapper {
7070 let Ok ( path) = Utf8PathBuf :: try_from( path) else {
7171 continue ;
7272 } ;
73- if matches!( path. extension( ) , Some ( "js" | "ts" ) ) {
73+ if matches!( path. extension( ) , Some ( "js" | "ts" | "mjs" ) ) {
7474 self . processor. remove_script( path) . await ;
7575 } else if path. extension( ) == Some ( "toml" ) {
7676 self . processor. remove_flow( path) . await ;
You can’t perform that action at this time.
0 commit comments