Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Apr 12, 2019
1 parent d4295b2 commit 20da6a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/postgraphile/postgraphile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export function getPostgraphileSchemaBuilder<
exportGqlSchema(gqlSchema);
}
if (attempts > 0) {
// tslint:disable-next-line no-console
console.error(`Schema ${attempts > 15 ? 'eventually' : attempts > 5 ? 'finally' : 'now'} generated successfully`);
}
return gqlSchema;
Expand Down Expand Up @@ -219,7 +220,7 @@ export default function postgraphile<
}

function logSeriousError(error: Error, when: string, nextSteps?: string) {
// tslint:ignore-next-line no-console
// tslint:disable-next-line no-console
console.error(
`A ${chalk.bold('serious error')} occurred when ${chalk.bold(when)}. ${
nextSteps ? nextSteps + ' ' : ''
Expand Down

0 comments on commit 20da6a4

Please sign in to comment.