From 235419d1883db51fb3f8a7f14e06abeeafa4a932 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Mon, 22 Feb 2021 11:12:31 +0100 Subject: [PATCH] Update packages/gatsby/src/commands/build-utils.ts Co-authored-by: Ward Peeters --- packages/gatsby/src/commands/build-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby/src/commands/build-utils.ts b/packages/gatsby/src/commands/build-utils.ts index e659d740c0b6d..796765572e8bf 100644 --- a/packages/gatsby/src/commands/build-utils.ts +++ b/packages/gatsby/src/commands/build-utils.ts @@ -71,7 +71,7 @@ export function calcDirtyHtmlFiles( const toDelete: Array = [] if (state.html.unsafeBuiltinWasUsedInSSR) { - console.warn( + reporter.warn( `Previous build used unsafe builtin method. We need to rebuild all pages` ) }