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)

console.warning() doesnt exist.

(cherry picked from commit 8ebbb68)
  • Loading branch information
gustavo-a authored and vladar committed Apr 13, 2021
1 parent e40c83d commit 7f06475
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 7f06475

Please sign in to comment.