mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-10-13 08:15:37 +00:00
Update getJSON.js
This commit is contained in:
1 parent
a5f9bf38be
commit
9c6913eb59
1 file changed
+2
-2
+2
-2
@@ -16,12 +16,12 @@ function getJSON(file, filename) {
|
||||
return data; // Return true or false, depending if tests pass or fail.
|
||||
}
|
||||
|
||||
return false; // It doesn't exist
|
||||
return 3; // It doesn't exist
|
||||
} catch(err) {
|
||||
console.error(err);
|
||||
}
|
||||
|
||||
return false;
|
||||
return 3;
|
||||
}
|
||||
|
||||
module.exports = getJSON;
|
||||
Reference in new issue
Block a user