mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2024-11-30 10:56:51 +01:00
test.js md formatting
This commit is contained in:
parent
f01f7a1162
commit
c7c7033393
4
test.js
4
test.js
@ -1,6 +1,6 @@
|
|||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
var log = '{\n'
|
var log = '{\n'
|
||||||
var issuelog = ' "message": "#### Syntax Issues\n\n Name | Entry\\n----|----------------------\\n'
|
var issuelog = ' "message": "#### Syntax Issues\n\n Name | Entry\n----|----------------------\n'
|
||||||
|
|
||||||
var file = fs.readFileSync(process.argv[2], 'utf8')
|
var file = fs.readFileSync(process.argv[2], 'utf8')
|
||||||
entryErrorCheck(file)
|
entryErrorCheck(file)
|
||||||
@ -25,7 +25,7 @@ function entryErrorCheck (md) {
|
|||||||
console.log(entryArray[i].name + 'Failed.')
|
console.log(entryArray[i].name + 'Failed.')
|
||||||
// entryArray[i].error = findError(entries[i]) //WIP
|
// entryArray[i].error = findError(entries[i]) //WIP
|
||||||
totalFail += 1
|
totalFail += 1
|
||||||
issuelog += entryArray[i].name + ' | ' + entries[i] + '\\n'
|
issuelog += entryArray[i].name + ' | ' + entries[i] + '\n'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user