0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
Fred K. Schott 2024-03-14 15:58:49 +00:00 committed by astrobot-houston
parent 1076864cc4
commit 6b26761d09

View file

@ -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;