Skip to content

Commit

Permalink
Fix: remove ftd#app-path-ex from fastn-builtins
Browse files Browse the repository at this point in the history
We don't need this definition here. This function is only invoked
internally through `ftd.app-path` function.
  • Loading branch information
siddhantk232 committed Jan 31, 2025
1 parent 4088c59 commit 41294f8
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions fastn-builtins/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1036,52 +1036,6 @@ pub fn default_bag() -> indexmap::IndexMap<String, fastn_resolved::Definition> {
external_implementation: true
})
),
(
"ftd#app-path-ex".to_string(),
fastn_resolved::Definition::Function(fastn_resolved::Function {
name: "ftd#app-path-ex".to_string(),
return_kind: fastn_resolved::KindData {
kind: fastn_resolved::Kind::string(),
caption: false,
body: false,
},
arguments: vec![
fastn_resolved::Argument {
name: "path".to_string(),
kind: fastn_resolved::KindData {
kind: fastn_resolved::Kind::string(),
caption: false,
body: false,
},
mutable: false,
value: None,
access_modifier: Default::default(),
line_number: 0,
},
fastn_resolved::Argument {
name: "app".to_string(),
kind: fastn_resolved::KindData {
kind: fastn_resolved::Kind::string(),
caption: false,
body: false,
},
mutable: false,
value: None,
access_modifier: Default::default(),
line_number: 0,
},
],
expression: vec![
fastn_resolved::FunctionExpression {
expression: "ftd.app_path_ex(path, app)".to_string(),
line_number: 0,
}
],
js: None,
line_number: 0,
external_implementation: true
})
),
(
"ftd#set-bool".to_string(),
fastn_resolved::Definition::Function(fastn_resolved::Function {
Expand Down

0 comments on commit 41294f8

Please sign in to comment.