File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -308,8 +308,8 @@ export const copyNextDependencies = async (ctx: PluginContext): Promise<void> =>
308
308
309
309
if ( nextVersion !== ctx . nextVersionFromVerification ) {
310
310
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
+ )
313
313
}
314
314
315
315
if ( nextVersion ) {
Original file line number Diff line number Diff line change @@ -55,10 +55,9 @@ export function verifyPublishDir(ctx: PluginContext) {
55
55
const { version } = serverHandlerRequire ( 'next/package.json' )
56
56
ctx . nextVersionFromVerification = version
57
57
console . log ( { version } )
58
- } catch ( e ) {
58
+ } catch ( e ) {
59
59
console . error ( 'failed to grab next version' , e )
60
60
}
61
-
62
61
}
63
62
if ( ctx . buildConfig . output === 'export' ) {
64
63
if ( ! ctx . exportDetail ?. success ) {
You can’t perform that action at this time.
0 commit comments