Added prestart script.

This commit is contained in:
Mike Cao 2022-03-18 21:57:58 -07:00
parent de3bf23e4c
commit 777dfeac0e
5 changed files with 28 additions and 13 deletions

10
scripts/postbuild.js Normal file
View file

@ -0,0 +1,10 @@
require('dotenv').config();
const { sendTelemetry } = require('./telemetry');
async function run() {
if (!process.env.DISABLE_TELEMETRY) {
await sendTelemetry();
}
}
run();