From 88a798704b793408cab3bd80077367bf863f7c54 Mon Sep 17 00:00:00 2001 From: AnnAngela Date: Wed, 2 Mar 2022 16:10:14 +0800 Subject: [PATCH] Update fs-rmSync.js --- extra/fs-rmSync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/fs-rmSync.js b/extra/fs-rmSync.js index 8def68d0..4c12f22e 100644 --- a/extra/fs-rmSync.js +++ b/extra/fs-rmSync.js @@ -1,7 +1,7 @@ const fs = require("fs"); /** * Detect if `fs.rmSync` is available - * to avoid the runtime warning triggered for using `fs.rmdirSync` with `{ recursive: true }` in Node.js v16, + * to avoid the runtime deprecation warning triggered for using `fs.rmdirSync` with `{ recursive: true }` in Node.js v16, * or the `recursive` property removing completely in the future Node.js version. * See the link below. * @link https://nodejs.org/docs/latest-v16.x/api/deprecations.html#dep0147-fsrmdirpath--recursive-true-