Skip to content

Commit

Permalink
chore: format with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh authored and actions-user committed Jun 14, 2024
1 parent 3804a7b commit 2b4eb38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/build/content/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ export const copyNextDependencies = async (ctx: PluginContext): Promise<void> =>

if (nextVersion !== ctx.nextVersionFromVerification) {
ctx.failBuild(
`mismatched versions detected. Version found at verification is ${ctx.nextVersionFromVerification} but resolved version is ${nextVersion}.`,
)
`mismatched versions detected. Version found at verification is ${ctx.nextVersionFromVerification} but resolved version is ${nextVersion}.`,
)
}

if (nextVersion) {
Expand Down
3 changes: 1 addition & 2 deletions src/build/verification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ export function verifyPublishDir(ctx: PluginContext) {
const { version } = serverHandlerRequire('next/package.json')
ctx.nextVersionFromVerification = version
console.log({ version })
} catch (e) {
} catch (e) {
console.error('failed to grab next version', e)
}

}
if (ctx.buildConfig.output === 'export') {
if (!ctx.exportDetail?.success) {
Expand Down

0 comments on commit 2b4eb38

Please sign in to comment.