Skip to content

Commit

Permalink
Manually fix some formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-apollo committed Aug 12, 2024
1 parent 91c3e15 commit 505c471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internals-js/src/federation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1952,8 +1952,8 @@ export function buildSubgraph(
let subgraph: Subgraph;
try {
const schema = typeof source === 'string'
? buildSchema(new Source(source, name), buildOptions)
: buildSchemaFromAST(source, buildOptions)
? buildSchema(new Source(source, name), buildOptions)
: buildSchemaFromAST(source, buildOptions)
subgraph = new Subgraph(name, url, schema);
} catch (e) {
if (e instanceof GraphQLError && name !== FEDERATION_UNNAMED_SUBGRAPH_NAME) {
Expand Down

0 comments on commit 505c471

Please sign in to comment.