[ci] format

This commit is contained in:
matthewp 2023-09-27 22:21:43 +00:00 committed by astrobot-houston
parent 408b50c5ea
commit c0708c921c
3 changed files with 3 additions and 3 deletions

View file

@ -1,13 +1,13 @@
import fs, { readFileSync } from 'node:fs'; import fs, { readFileSync } from 'node:fs';
import { basename, join } from 'node:path/posix'; import { basename, join } from 'node:path/posix';
import type { BuildPipeline } from '../../core/build/buildPipeline.js'; import type { BuildPipeline } from '../../core/build/buildPipeline.js';
import { getOutDirWithinCwd } from '../../core/build/common.js';
import { prependForwardSlash } from '../../core/path.js'; import { prependForwardSlash } from '../../core/path.js';
import { isServerLikeOutput } from '../../prerender/utils.js'; import { isServerLikeOutput } from '../../prerender/utils.js';
import { getConfiguredImageService, isESMImportedImage } from '../internal.js'; import { getConfiguredImageService, isESMImportedImage } from '../internal.js';
import type { LocalImageService } from '../services/service.js'; import type { LocalImageService } from '../services/service.js';
import type { ImageMetadata, ImageTransform } from '../types.js'; import type { ImageMetadata, ImageTransform } from '../types.js';
import { loadRemoteImage, type RemoteCacheEntry } from './remote.js'; import { loadRemoteImage, type RemoteCacheEntry } from './remote.js';
import { getOutDirWithinCwd } from "../../core/build/common.js";
interface GenerationDataUncached { interface GenerationDataUncached {
cached: false; cached: false;

View file

@ -27,7 +27,7 @@ export async function getParamsAndProps(opts: GetParamsAndPropsOptions): Promise
const params = getRouteParams(route, pathname) ?? {}; const params = getRouteParams(route, pathname) ?? {};
if (routeIsRedirect(route)) { if (routeIsRedirect(route)) {
return [params, {}] return [params, {}];
} }
validatePrerenderEndpointCollision(route, mod, params); validatePrerenderEndpointCollision(route, mod, params);