Skip to content

Commit 02a41aa

Browse files
committed
fix lint
1 parent c942129 commit 02a41aa

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/open-next/src/build/createImageOptimizationBundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export async function createImageOptimizationBundle(
1515
) {
1616
logger.info(`Bundling image optimization function...`);
1717

18-
const { appPath, appBuildOutputPath, config, outputDir } = options;
18+
const { appBuildOutputPath, config, outputDir } = options;
1919

2020
// Create output folder
2121
const outputPath = path.join(outputDir, "image-optimization-function");

packages/open-next/src/build/installDeps.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ export function installDependencies(
2222
logger.info(`Installing dependencies for ${name}...`);
2323
// We then need to run install in the tempDir
2424
// We don't install in the output dir directly because it could contain a package.json, and npm would then try to reinstall not complete deps from tracing the files
25-
const installCommand = `npm install --arch=${installOptions.arch ?? "arm64"} --platform=linux --target=${installOptions.nodeVersion ?? "18"} --libc=${installOptions.libc ?? "glibc"} ${installOptions.packages.join(" ")}`;
25+
const installCommand = `npm install --arch=${
26+
installOptions.arch ?? "arm64"
27+
} --platform=linux --target=${installOptions.nodeVersion ?? "18"} --libc=${
28+
installOptions.libc ?? "glibc"
29+
} ${installOptions.packages.join(" ")}`;
2630
execSync(installCommand, {
2731
stdio: "pipe",
2832
cwd: tempInstallDir,

0 commit comments

Comments
 (0)