Skip to content

Commit 74674cc

Browse files
authored
Changing the default types to empty array
1 parent 1c72aec commit 74674cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function doesKeyExist(obj, key) {
4343
function readFile(filePath) {
4444
if(!existsSync(filePath)) {
4545
console.log(messages.TYPES_FILE_NOT_EXISTS);
46-
return {};
46+
return [];
4747
}
4848

4949
return JSON.parse(readFileSync(filePath));

0 commit comments

Comments
 (0)