redhat-actions / push-to-registry

GitHub Action to push a container image to an image registry.
https://github.com/marketplace/actions/push-to-registry
MIT License
97 stars 32 forks source link

Use rm over deprecated rmdir #96

Open jbpratt opened 6 months ago

jbpratt commented 6 months ago

Description

use rm instead of rmdir

this was officially deprecated in v16

(node:23073) [DEP0147] DeprecationWarning: In future versions of
Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use
fs.rm(path, { recursive: true }) instead

https://nodejs.org/api/deprecations.html#DEP0147

Signed-off-by: jbpratt jbpratt78@gmail.com

Related Issue(s)

fixes #84

Checklist

Changes made

fix deprecation