Remove unnecessary util.promisify() on Promise-returning functions

Proprietary

Removes 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-promise
mod run . --recipe=org.openrewrite.node.migrate.util.remove-promisify-on-promise

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.