Skip to content

Commit 2f1a49f

Browse files
alienzhouzhouhongxuan
andauthored
fix: add .rm and .rmSync to fs methods (#362)
Co-authored-by: zhouhongxuan <[email protected]>
1 parent 0372035 commit 2f1a49f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util/lists.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const fsSyncMethods = [
4545
'fdatasyncSync',
4646
'mkdtempSync',
4747
'copyFileSync',
48+
'rmSync',
4849

4950
'createReadStream',
5051
'createWriteStream',
@@ -87,6 +88,7 @@ export const fsAsyncMethods = [
8788
'fdatasync',
8889
'mkdtemp',
8990
'copyFile',
91+
'rm',
9092

9193
'watchFile',
9294
'unwatchFile',

0 commit comments

Comments
 (0)