From 8ebbb685406569258435460b536f38408ade8f50 Mon Sep 17 00:00:00 2001 From: Gustavo Rocha Date: Sun, 11 Apr 2021 14:10:46 -0300 Subject: [PATCH] fix(gatsby-source-wordpress): change `console.warning` to `console.warn` (#30764) 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}` )