diff options
author | 2022-10-12 21:06:52 +0000 | |
---|---|---|
committer | 2022-10-12 21:06:52 +0000 | |
commit | 2b7fb848bbe18942960c17a135c5a3769780512b (patch) | |
tree | e0f61055e2c20092e731f55a8a9bd4e3990ef075 | |
parent | ebd364e392035b379dd00b8f2f15a4cc09ee88e6 (diff) | |
download | astro-2b7fb848bbe18942960c17a135c5a3769780512b.tar.gz astro-2b7fb848bbe18942960c17a135c5a3769780512b.tar.zst astro-2b7fb848bbe18942960c17a135c5a3769780512b.zip |
[ci] format
-rw-r--r-- | packages/astro/src/cli/index.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/core/endpoint/index.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/cli/index.ts b/packages/astro/src/cli/index.ts index 18910e154..738427dbb 100644 --- a/packages/astro/src/cli/index.ts +++ b/packages/astro/src/cli/index.ts @@ -14,6 +14,7 @@ import { resolveFlags, resolveRoot, } from '../core/config/index.js'; +import { ASTRO_VERSION } from '../core/constants.js'; import devServer from '../core/dev/index.js'; import { collectErrorMetadata } from '../core/errors.js'; import { debug, error, info, LogOptions } from '../core/logger/core.js'; @@ -21,7 +22,6 @@ import { enableVerboseLogging, nodeLogDestination } from '../core/logger/node.js import { formatConfigErrorMessage, formatErrorMessage, printHelp } from '../core/messages.js'; import { appendForwardSlash } from '../core/path.js'; import preview from '../core/preview/index.js'; -import { ASTRO_VERSION } from '../core/constants.js'; import { createSafeError } from '../core/util.js'; import * as event from '../events/index.js'; import { eventConfigError, eventError, telemetry } from '../events/index.js'; diff --git a/packages/astro/src/core/endpoint/index.ts b/packages/astro/src/core/endpoint/index.ts index 3df01af25..c4c1686e6 100644 --- a/packages/astro/src/core/endpoint/index.ts +++ b/packages/astro/src/core/endpoint/index.ts @@ -2,9 +2,9 @@ import type { APIContext, EndpointHandler, Params } from '../../@types/astro'; import type { RenderOptions } from '../render/core'; import { renderEndpoint } from '../../runtime/server/index.js'; +import { ASTRO_VERSION } from '../constants.js'; import { AstroCookies, attachToResponse } from '../cookies/index.js'; import { getParamsAndProps, GetParamsAndPropsError } from '../render/core.js'; -import { ASTRO_VERSION } from '../constants.js'; const clientAddressSymbol = Symbol.for('astro.clientAddress'); |