From 69881f27b8b6f38c977e64ea5809bc8a432c14f7 Mon Sep 17 00:00:00 2001 From: Gustavo Rocha Date: Thu, 8 Apr 2021 15:51:48 -0300 Subject: [PATCH] fix(gatsby-source-wordpress): change `console.warning` to `console.warn` console.warning() doesnt exist. --- .../src/steps/source-nodes/create-nodes/process-node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-source-wordpress/src/steps/source-nodes/create-nodes/process-node.js b/packages/gatsby-source-wordpress/src/steps/source-nodes/create-nodes/process-node.js index d064e5b973c47..e30abfa8b8b9a 100644 --- a/packages/gatsby-source-wordpress/src/steps/source-nodes/create-nodes/process-node.js +++ b/packages/gatsby-source-wordpress/src/steps/source-nodes/create-nodes/process-node.js @@ -837,7 +837,7 @@ const replaceNodeHtmlLinks = ({ wpUrl, nodeString, node }) => { nodeString = nodeString.replace(thisMatchRegex, normalizedPath) } catch (e) { console.error(e) - console.warning( + console.warn( formatLogMessage( `Failed to process inline html links in ${node.__typename} ${node.id}` )