Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored and astrobot-houston committed Aug 28, 2024
1 parent 440a4be commit 26893f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/astro/src/cli/add/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { fileURLToPath, pathToFileURL } from 'node:url';
import boxen from 'boxen';
import { diffWords } from 'diff';
import { bold, cyan, dim, green, magenta, red, yellow } from 'kleur/colors';
import { type ASTNode, type ProxifiedModule, builders, generateCode, loadFile } from 'magicast';
import { getDefaultExportOptions } from 'magicast/helpers';
import ora from 'ora';
import preferredPM from 'preferred-pm';
import prompts from 'prompts';
Expand All @@ -30,8 +32,6 @@ import { ensureProcessNodeEnv, parseNpmName } from '../../core/util.js';
import { eventCliSession, telemetry } from '../../events/index.js';
import { type Flags, createLoggerFromFlags, flagsToAstroInlineConfig } from '../flags.js';
import { fetchPackageJson, fetchPackageVersions } from '../install-package.js';
import { loadFile, generateCode, builders, type ASTNode, type ProxifiedModule } from 'magicast';
import { getDefaultExportOptions } from 'magicast/helpers';

interface AddOptions {
flags: Flags;
Expand Down Expand Up @@ -673,7 +673,7 @@ async function tryToInstallIntegrations({
// reset NODE_ENV to ensure install command run in dev mode
env: { NODE_ENV: undefined },
},
}
},
);
spinner.succeed();
return UpdateResult.updated;
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/src/cli/install-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async function installPackage(
await exec(
installCommand.pm,
[installCommand.command, ...installCommand.flags, ...installCommand.dependencies],
{ nodeOptions: { cwd: cwd } }
{ nodeOptions: { cwd: cwd } },
);
spinner.succeed();

Expand Down

0 comments on commit 26893f9

Please sign in to comment.