mirror of
https://github.com/electron/electron.git
synced 2026-02-18 02:51:53 -05:00
build: move to the new docs parser (#18103)
* build: move to the new docs parser * chore: remove the bad getTitle param doc * build: update parser/ts gen deps + fix some docs issues highlighted by GH desktop * chore: apply suggestions from code review Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com> * chore: update docs for accidentally removed things * chore: update docs/api/command-line.md Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com>
This commit is contained in:
committed by
John Kleinschmidt
parent
9ec59cbc6c
commit
a96b6e2c96
@@ -56,8 +56,12 @@ const main = async () => {
|
||||
child.stdout.on('data', chunk => {
|
||||
output += chunk.toString()
|
||||
})
|
||||
child.stderr.on('data', chunk => console.error(chunk.toString()))
|
||||
await new Promise((resolve, reject) => child.on('exit', (code) => {
|
||||
if (code !== 0) return reject(new Error(`Failed to list browserify dependencies for entry: ${browserifyTarget.name}`))
|
||||
if (code !== 0) {
|
||||
console.error(output)
|
||||
return reject(new Error(`Failed to list browserify dependencies for entry: ${browserifyTarget.name}`))
|
||||
}
|
||||
|
||||
resolve()
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user