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.
  • Loading branch information
gustavo-a authored Apr 11, 2021
1 parent dda127e commit 8ebbb68
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 8ebbb68

Please sign in to comment.