We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c72aec commit 74674ccCopy full SHA for 74674cc
lib/utils.js
@@ -43,7 +43,7 @@ function doesKeyExist(obj, key) {
43
function readFile(filePath) {
44
if(!existsSync(filePath)) {
45
console.log(messages.TYPES_FILE_NOT_EXISTS);
46
- return {};
+ return [];
47
}
48
49
return JSON.parse(readFileSync(filePath));
0 commit comments