lint ✨
This commit is contained in:
parent
0e264b5e6e
commit
6ae30e6d87
|
@ -13,12 +13,12 @@ function captureException(err) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function captureEvent(event) {
|
function captureEvent(event) {
|
||||||
if (process.env.NODE_ENV !== "production") return;
|
if (process.env.NODE_ENV !== "production") return
|
||||||
posthog.capture(event)
|
posthog.capture(event)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
activate,
|
activate,
|
||||||
captureException,
|
captureException,
|
||||||
captureEvent
|
captureEvent,
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,4 +47,4 @@ server.on("close", () => console.log("Server Closed"))
|
||||||
|
|
||||||
module.exports = server.listen(env.PORT || 4001, () => {
|
module.exports = server.listen(env.PORT || 4001, () => {
|
||||||
console.log(`Budibase running on ${JSON.stringify(server.address())}`)
|
console.log(`Budibase running on ${JSON.stringify(server.address())}`)
|
||||||
})
|
})
|
||||||
|
|
|
@ -16,4 +16,4 @@ async function runServer() {
|
||||||
require("./app")
|
require("./app")
|
||||||
}
|
}
|
||||||
|
|
||||||
runServer()
|
runServer()
|
||||||
|
|
Loading…
Reference in New Issue