Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored and astrobot-houston committed Jan 24, 2024
1 parent fecba30 commit 54acb6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ export interface ImageServiceConfig<T extends Record<string, any> = Record<strin
* Docs: https://docs.astro.build/reference/configuration-reference/
*/
export interface AstroUserConfig {

/**
* @docs
* @kind heading
Expand Down Expand Up @@ -568,7 +567,6 @@ export interface AstroUserConfig {
*/
output?: 'static' | 'server' | 'hybrid';


/**
* @docs
* @name adapter
Expand Down Expand Up @@ -724,7 +722,6 @@ export interface AstroUserConfig {
*/
compressHTML?: boolean;


/**
* @docs
* @name scopedStyleStrategy
Expand Down Expand Up @@ -1069,7 +1066,7 @@ export interface AstroUserConfig {
*/
enabled: boolean;
};

/**
* @docs
* @kind heading
Expand Down
4 changes: 3 additions & 1 deletion packages/create-astro/src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ export const getVersion = (packageManager: string, packageName: string) =>
new Promise<string>(async (resolve) => {
if (v) return resolve(v);
let registry = await getRegistry(packageManager);
const { version } = await fetch(`${registry}/${packageName}/latest`, { redirect: 'follow' }).then(
const { version } = await fetch(`${registry}/${packageName}/latest`, {
redirect: 'follow',
}).then(
(res) => res.json(),
() => ({ version: '' })
);
Expand Down

0 comments on commit 54acb6a

Please sign in to comment.