Skip to content

Commit 007ec80

Browse files
authored
Merge pull request #250 from ste7en/patch-1
Update post-init.script.js to solve DEP0147
2 parents 0d5247e + cc32e02 commit 007ec80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

post-init.script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
2-
const { rmdir } = require('fs').promises;
2+
const { rm } = require('fs').promises;
33
const { applyPlugins } = require('./template/plugins');
44

55
applyPlugins().then(async () => {
6-
await rmdir('./plugins', { recursive: true });
6+
await rm('./plugins', { recursive: true });
77
});

0 commit comments

Comments
 (0)