Skip to content

Commit 2b4eb38

Browse files
piehactions-user
authored andcommitted
chore: format with prettier
1 parent 3804a7b commit 2b4eb38

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/build/content/server.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ export const copyNextDependencies = async (ctx: PluginContext): Promise<void> =>
308308

309309
if (nextVersion !== ctx.nextVersionFromVerification) {
310310
ctx.failBuild(
311-
`mismatched versions detected. Version found at verification is ${ctx.nextVersionFromVerification} but resolved version is ${nextVersion}.`,
312-
)
311+
`mismatched versions detected. Version found at verification is ${ctx.nextVersionFromVerification} but resolved version is ${nextVersion}.`,
312+
)
313313
}
314314

315315
if (nextVersion) {

src/build/verification.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,9 @@ export function verifyPublishDir(ctx: PluginContext) {
5555
const { version } = serverHandlerRequire('next/package.json')
5656
ctx.nextVersionFromVerification = version
5757
console.log({ version })
58-
} catch (e) {
58+
} catch (e) {
5959
console.error('failed to grab next version', e)
6060
}
61-
6261
}
6362
if (ctx.buildConfig.output === 'export') {
6463
if (!ctx.exportDetail?.success) {

0 commit comments

Comments
 (0)