Skip to content

Commit 6d10996

Browse files
committed
fix typo
1 parent 556a80e commit 6d10996

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • packages/libraries/cli/src/commands/schema

packages/libraries/cli/src/commands/schema/check.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export default class SchemaCheck extends Command<typeof SchemaCheck> {
237237
throw new MissingRegistryTokenError();
238238
}
239239

240-
let minifiedBasSdl: string | null = null;
240+
let minifiedBaseSdl: string | null = null;
241241

242242
if (flags.base) {
243243
const basePointer = flags.base;
@@ -274,7 +274,7 @@ export default class SchemaCheck extends Command<typeof SchemaCheck> {
274274
}
275275
}
276276

277-
minifiedBasSdl = minifySchema(result.sdl);
277+
minifiedBaseSdl = minifySchema(result.sdl);
278278
}
279279

280280
const rawSdl = await loadSchema(
@@ -345,7 +345,7 @@ export default class SchemaCheck extends Command<typeof SchemaCheck> {
345345
target,
346346
url: flags.url,
347347
schemaProposalId: flags.schemaProposalId,
348-
baseSdl: minifiedBasSdl,
348+
baseSdl: minifiedBaseSdl,
349349
},
350350
},
351351
/** Gateway timeout is 60 seconds. */

0 commit comments

Comments
 (0)