From 6b26761d09bc653d04ca27108983a0bd78276819 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Thu, 14 Mar 2024 15:58:49 +0000 Subject: [PATCH] [ci] format --- packages/db/src/core/tokens.ts | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/db/src/core/tokens.ts b/packages/db/src/core/tokens.ts index 3b2310e0b3ae..314296b43e31 100644 --- a/packages/db/src/core/tokens.ts +++ b/packages/db/src/core/tokens.ts @@ -2,10 +2,10 @@ import { readFile } from 'node:fs/promises'; import { homedir } from 'node:os'; import { join } from 'node:path'; import { pathToFileURL } from 'node:url'; +import { green } from 'kleur/colors'; +import ora from 'ora'; import { MISSING_PROJECT_ID_ERROR, MISSING_SESSION_ID_ERROR } from './errors.js'; import { getAstroStudioEnv, getAstroStudioUrl, safeFetch } from './utils.js'; -import ora from 'ora'; -import { green } from 'kleur/colors'; export const SESSION_LOGIN_FILE = pathToFileURL(join(homedir(), '.astro', 'session-token')); export const PROJECT_ID_FILE = pathToFileURL(join(process.cwd(), '.astro', 'link')); @@ -62,12 +62,7 @@ class ManagedRemoteAppToken implements ManagedAppToken { }); } - constructor(options: { - token: string; - session: string; - projectId: string; - ttl: number; - }) { + constructor(options: { token: string; session: string; projectId: string; ttl: number }) { this.token = options.token; this.session = options.session; this.projectId = options.projectId;