Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott authored and astrobot-houston committed Feb 29, 2024
1 parent c2e7b98 commit 3757a21
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/db/src/core/cli/commands/login/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { mkdir, writeFile } from 'node:fs/promises';
import { createServer as _createServer } from 'node:http';
import type { AstroConfig } from 'astro';
import { listen } from 'async-listen';
import { cyan } from 'kleur/colors';
import { mkdir, writeFile } from 'node:fs/promises';
import { createServer as _createServer } from 'node:http';
import open from 'open';
import ora from 'ora';
import type { Arguments } from 'yargs-parser';
Expand All @@ -16,8 +16,7 @@ import { getAstroStudioUrl } from '../../../utils.js';
// 4. The temporary server receives and saves the session token, logging the user in
// 5. The user is redirected one last time to a success/failure page
async function createServer(): Promise<{ url: string; promise: Promise<string> }> {
let resolve: (value: string | PromiseLike<string>) => void,
reject: (reason?: Error) => void;
let resolve: (value: string | PromiseLike<string>) => void, reject: (reason?: Error) => void;

const server = _createServer((req, res) => {
// Handle the request
Expand Down

0 comments on commit 3757a21

Please sign in to comment.