Update readme and die on unhandled promises rejections
This commit is contained in:
1 parent
dfeb468b82
commit
a6ffa0ffd2
11 files changed
+17
-7
No files matched your search
Vendored
+1
@@ -28,6 +28,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
//Initialization
|
||||
console.log(`GitHub metrics as SVG image`)
|
||||
console.log(`========================================================`)
|
||||
process.on("unhandledRejection", error => { throw error })
|
||||
|
||||
//Load svg template, style and query
|
||||
const template = `<svg xmlns="http://www.w3.org/2000/svg" width="480" height="\${480 + (computed.plugins.pagespeed ? 100 : 0)}">
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
//Initialization
|
||||
console.log(`GitHub metrics as SVG image`)
|
||||
console.log(`========================================================`)
|
||||
process.on("unhandledRejection", error => { throw error })
|
||||
|
||||
//Load svg template, style and query
|
||||
const template = `<#include template.svg>`, style = `<#include style.css>`, query = `<#include query.graphql>`
|
||||
|
||||
Reference in new issue
Block a user