Skip to content

Commit

Permalink
fix(gatsby-source-wordpress): change console.warning to `console.wa…
Browse files Browse the repository at this point in the history
…rn` (#30764) (#30852)

console.warning() doesnt exist.

(cherry picked from commit 8ebbb68)

Co-authored-by: Gustavo Rocha <[email protected]>
  • Loading branch information
GatsbyJS Bot and gustavo-a authored Apr 13, 2021
1 parent e40c83d commit 96805d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
)
Expand Down

0 comments on commit 96805d5

Please sign in to comment.