Skip to content

Commit

Permalink
chore(migrate): replaces console with process stream
Browse files Browse the repository at this point in the history
fixes console error logging
  • Loading branch information
pranshuchittora committed Jun 4, 2019
1 parent 71a58b6 commit 1df301d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ export default function(j: JSCodeshift, ast: Node): Node {
j(path).remove();
}
} else {
console.error(`
process.stderr.write(`
${chalk.red("Please remove deprecated plugins manually. ")}
See ${chalk.underline("https://webpack.js.org/guides/migrating/")} for more information.`);
}
Expand Down

0 comments on commit 1df301d

Please sign in to comment.