Skip to content

Commit f8b1cee

Browse files
committed
v2.0.3
1 parent 7654608 commit f8b1cee

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ISC License
22

3-
Copyright (c) 2019 Vincenzo Tilotta
3+
Copyright (c) 2019-2020 Vincenzo Tilotta
44

55
Permission to use, copy, modify, and/or distribute this software for any
66
purpose with or without fee is hereby granted, provided that the above

file2directories

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const createLoopDir = async (str) => {
3131
process.chdir(sp);
3232
}
3333

34-
fs.readFile(process.argv[2], function (err, data) {
34+
fs.readFile(process.argv[2], (err, data) => {
3535
if (err) {
3636
console.error(language.FILENOTFOUND);
3737
throw err;
@@ -46,6 +46,4 @@ fs.readFile(process.argv[2], function (err, data) {
4646
f.forEach((element) => {
4747
createLoopDir(element);
4848
});
49-
50-
return true;
5149
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "filetodirectory",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "File to directory",
55
"main": "file2directories",
66
"scripts": {

0 commit comments

Comments
 (0)