mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2025-04-23 05:12:09 +02:00
test.js md formatting
This commit is contained in:
parent
c7c7033393
commit
9b854d84b7
1 changed files with 2 additions and 2 deletions
4
test.js
4
test.js
|
@ -1,6 +1,6 @@
|
|||
const fs = require('fs')
|
||||
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')
|
||||
entryErrorCheck(file)
|
||||
|
@ -25,7 +25,7 @@ function entryErrorCheck (md) {
|
|||
console.log(entryArray[i].name + 'Failed.')
|
||||
// entryArray[i].error = findError(entries[i]) //WIP
|
||||
totalFail += 1
|
||||
issuelog += entryArray[i].name + ' | ' + entries[i] + '\n'
|
||||
issuelog += entryArray[i].name + ' | ' + entries[i] + '\\n'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue