Skip to content

Commit

Permalink
minor clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
amitu committed Nov 26, 2024
1 parent ae3cba1 commit 141d91d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastn-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ pub fn get_all_asts(
} else if let fastn_resolved::Definition::Function(f) = definition {
document_asts.push(f.to_ast(doc));
} else if let fastn_resolved::Definition::Export { from, to, .. } = definition {
if doc.get_opt_record(&from).is_some() {
if doc.get_opt_record(from).is_some() {
continue;
}
export_asts.push(fastn_js::Ast::Export {
Expand Down

0 comments on commit 141d91d

Please sign in to comment.