Skip to content

Commit b64b993

Browse files
committed
Update comments
1 parent 8eeb8c7 commit b64b993

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const createDirectories = (dirs) => {
1919
}
2020
}
2121

22+
// Deletes all files and subdirectories in the given directory
2223
const cleanDirectory = (dir) => {
23-
// Deletes all files and subdirectories in the given directory
2424
if (fs.existsSync(dir)) {
2525
const files = fs.readdirSync(dir)
2626
for (const file of files) {
@@ -36,7 +36,6 @@ const cleanDirectory = (dir) => {
3636
}
3737
}
3838

39-
// Get version from package.json without using require
4039
const version = JSON.parse(fs.readFileSync('package.json')).version;
4140

4241
program

0 commit comments

Comments
 (0)