Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit 4064a51

Browse files
committed
i literally cant
1 parent 96b953a commit 4064a51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/helpers/handleFileTracking.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const {
44
existsSync,
55
readdirSync,
66
readFileSync,
7+
rmdirSync,
78
removeSync,
89
writeFileSync,
910
} = require("fs-extra");
@@ -41,7 +42,7 @@ const handleFileTracking = ({ functionsPath, publishPath }) => {
4142
// console.log('4', join(dirPath, "next_shows_id\\"));
4243
// console.log('5', filePath)
4344
// console.log('6', [filePath, '\\'].join(''));
44-
emptyDirSync(filePath);
45+
rmdirSync(filePath);
4546
removeSync(filePath);
4647
} catch (e) {
4748
console.log('e', e)

0 commit comments

Comments
 (0)