Skip to content

Commit

Permalink
refactor: remove appPath from generateOutput arguments as it's not us…
Browse files Browse the repository at this point in the history
…ed anymore
  • Loading branch information
MaksymKupko committed May 26, 2024
1 parent 42da136 commit d6535ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/open-next/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export async function build(
await createRevalidationBundle(config);
await createImageOptimizationBundle(config);
await createWarmerBundle(config);
await generateOutput(options.appPath, options.appBuildOutputPath, config);
await generateOutput(options.appBuildOutputPath, config);
logger.info("OpenNext build complete.");
}

Expand Down
1 change: 0 additions & 1 deletion packages/open-next/src/build/generateOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ function prefixPattern(basePath: string) {
}

export async function generateOutput(
appPath: string,
outputPath: string,
config: OpenNextConfig,
) {
Expand Down

0 comments on commit d6535ca

Please sign in to comment.