Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Jan 19, 2024
1 parent 29b86d7 commit d23c732
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion mods/registry/src/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
*/
// eslint-disable-next-line @typescript-eslint/no-var-requires
require("./tracer").init("dispatcher")
import { CONFIG_PATH, ENABLE_HEALTHCHECKS } from "./envs"
import registryService from "./service"
import { getConfig } from "./config/get_config"
import { getLogger } from "@fonoster/logger"
import { CONFIG_PATH, ENABLE_HEALTHCHECKS } from "./envs"
import express from "express"

const app = express()
const healthPort = 8080

Expand Down
3 changes: 1 addition & 2 deletions mods/registry/src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable require-jsdoc */
/*
* Copyright (C) 2023 by Fonoster Inc (https://fonoster.com)
* http://github.com/fonoster/routr
Expand Down Expand Up @@ -28,7 +29,6 @@ import {
Trunk
} from "./types"

// eslint-disable-next-line require-jsdoc
export function getUnregisteredTrunks(store: IRegistryStore) {
return async (trunks: Trunk[]): Promise<Trunk[]> => {
const registryEntries = await store.list()
Expand All @@ -41,7 +41,6 @@ export function getUnregisteredTrunks(store: IRegistryStore) {
}
}

// eslint-disable-next-line require-jsdoc
export async function findTrunks(apiClient: CC.APIClient) {
return (
await apiClient.trunks.findBy({
Expand Down

0 comments on commit d23c732

Please sign in to comment.