From 59620fae2de96ebd2b7da110d7bb3da8a40690d5 Mon Sep 17 00:00:00 2001 From: Jonathan Tamsut Date: Mon, 1 May 2023 15:14:08 -0700 Subject: [PATCH] format and lint --- languageserver/src/client.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/languageserver/src/client.ts b/languageserver/src/client.ts index 6028fca..a9f0651 100644 --- a/languageserver/src/client.ts +++ b/languageserver/src/client.ts @@ -1,6 +1,6 @@ import {Octokit} from "@octokit/rest"; -import { Agent } from "node:https"; -import { readFileSync } from "fs"; +import {Agent} from "node:https"; +import {readFileSync} from "fs"; export function getClient(token: string, userAgent?: string): Octokit { const selfSignedCertPath = process.env.PATH_TO_SELF_SIGNED_CERT; @@ -15,9 +15,8 @@ export function getClient(token: string, userAgent?: string): Octokit { userAgent: userAgent || `GitHub Actions Language Server`, request: { agent: httpsAgent - }, + } }); - } else { return new Octokit({ auth: token,