Skip to content

Commit

Permalink
[codegen] remove guard statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Hemel Yahya authored and Hemel Yahya committed Nov 29, 2023
1 parent c614487 commit 138c3e4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/ApolloCodegenLib/Templates/TemplateRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,6 @@ struct ImportStatementTemplate {
@_exported import \(apolloAPITargetName)
\(if: config.output.operations != .inSchemaModule, "import \(config.schemaModuleName)")
\(forEachIn: config.additionalImportedModulesNames, {
guard config.output.operations != .inSchemaModule else {
return nil
}
return "import \($0)"
})
"""
Expand Down

0 comments on commit 138c3e4

Please sign in to comment.