From 20da6a4531734eb47a50c4f9e520be8bd3525662 Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Fri, 12 Apr 2019 20:36:45 +0100 Subject: [PATCH] Lint --- src/postgraphile/postgraphile.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/postgraphile/postgraphile.ts b/src/postgraphile/postgraphile.ts index 722a1ac76b..a58019b8ea 100644 --- a/src/postgraphile/postgraphile.ts +++ b/src/postgraphile/postgraphile.ts @@ -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; @@ -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 + ' ' : ''