diff --git a/index.js b/index.js index f8ec43f..86847d0 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,8 @@ function initializeProject() { } function listFiles() { - const exclusions = fs.readFileSync('./.dorkyignore').toString().split(EOL); + let exclusions = fs.readFileSync('./.dorkyignore').toString().split(EOL); + if(exclusions[0] == '') exclusions = []; var getDirectories = function (src, callback) { glob(src + '/**/*', callback); };