diff options
author | n8225 <n8225@users.noreply.github.com> | 2019-08-21 22:30:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 22:30:28 +0000 |
commit | e59fb697421086d21b3772f10508abe52aec5b5f (patch) | |
tree | 137cf98fd1d7f301175868f49722b8105b794bba /tests | |
parent | Update .travis.yml (diff) | |
download | awesome-selfhosted-e59fb697421086d21b3772f10508abe52aec5b5f.tar.gz awesome-selfhosted-e59fb697421086d21b3772f10508abe52aec5b5f.zip |
Update test.js
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test.js b/tests/test.js index ee3867e8..6516ab07 100644 --- a/tests/test.js +++ b/tests/test.js @@ -52,6 +52,10 @@ function entryErrorCheck(md) { let totalPass = 0; let total = 0; const entryArray = []; + if (entries[0] === "") { + console.log("0 Entries") + process.exit(0) + } for (let i = 0, len = entries.length; i < len; i += 1) { // Loop to create array of objects entryArray[i] = new Object; entryArray[i].raw = entries[i]; |