Skip to content

Commit

Permalink
adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela committed Nov 5, 2024
1 parent 01519ed commit 8578269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/libraries/cli/src/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ export default class Dev extends Command<typeof Dev> {
}

private async resolveSdlFromUrl(url: string) {
const sdl = await loadSchema('federation-subgraph', url).catch(error => {
const sdl = await loadSchema('federation-subgraph-introspection', url).catch(error => {
this.handleFetchError(error);
});

Expand Down
2 changes: 1 addition & 1 deletion packages/libraries/cli/src/commands/schema/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default class SchemaCheck extends Command<typeof SchemaCheck> {
legacyFlagName: 'token',
env: 'HIVE_TOKEN',
});
const sdl = await loadSchema(file);
const sdl = await loadSchema('introspection', file);
const git = await gitInfo(() => {
// noop
});
Expand Down

0 comments on commit 8578269

Please sign in to comment.