-
-
Notifications
You must be signed in to change notification settings - Fork 17
Feat/util print to console log #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/util print to console log #186
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the DEP0059 is EoL in 24 rest in 12 it's why I think we need to do 2 codemod
Okay, not problem, let me split it then |
721b808
to
5074b68
Compare
Co-authored-by: Augustin Mauroy <[email protected]>
…have multiple equal ranges
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT !
Closes #124
the recipe
util-log-to-console-log
The recipe util-log-to-console-log was only handling DEP0059, which replaces
util.log
withconsole.log
.However, we have four other similar deprecations, and I think it makes sense to handle them here as well (maybe we should rename the recipe?).
DEP0026: replace
util.print
withconsole.log
DEP0027: replace
util.puts
withconsole.log
DEP0028: replace
util.debug
withconsole.error
DEP0029: replace
util.error
withconsole.error