Remove unnecessary util.promisify() on Promise-returning functions
ProprietaryRemoves util.promisify() calls on functions that already return a Promise. Since Node.js v17.0.0, calling promisify on a function that returns a Promise emits a runtime deprecation warning (DEP0174).
org. openrewrite. node. migrate. util. remove-promisify-on-promisemod run . --recipe= org. openrewrite. node. migrate. util. remove-promisify-on-promiseInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.