mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2024-11-26 10:28:02 +00:00
Update test.js
This commit is contained in:
parent
380554d768
commit
e59fb69742
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ function entryErrorCheck(md) {
|
||||||
let totalPass = 0;
|
let totalPass = 0;
|
||||||
let total = 0;
|
let total = 0;
|
||||||
const entryArray = [];
|
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
|
for (let i = 0, len = entries.length; i < len; i += 1) { // Loop to create array of objects
|
||||||
entryArray[i] = new Object;
|
entryArray[i] = new Object;
|
||||||
entryArray[i].raw = entries[i];
|
entryArray[i].raw = entries[i];
|
||||||
|
|
Loading…
Reference in a new issue