mirror of
https://github.com/replicatedhq/ttl.sh.git
synced 2026-05-20 07:12:45 +00:00
Remove more dependencies
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import * as util from "util";
|
||||
import { Server } from "../server/server";
|
||||
import { logger } from "../logger";
|
||||
import * as Sentry from "@sentry/node";
|
||||
import { param } from "../util";
|
||||
|
||||
exports.name = "hooks";
|
||||
@@ -23,10 +22,5 @@ async function main(argv): Promise<any> {
|
||||
process.exit();
|
||||
});
|
||||
|
||||
Sentry.init({
|
||||
dsn: param.get("SENTRY_DSN_API"),
|
||||
environment: param.get("ENVIRONMENT"),
|
||||
});
|
||||
|
||||
await new Server().start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user