Skip to content

Commit 299d3c2

Browse files
committed
Cleanup
1 parent 487c247 commit 299d3c2

File tree

1 file changed

+2
-2
lines changed
  • packages/@apphosting/adapter-nextjs/src

1 file changed

+2
-2
lines changed

packages/@apphosting/adapter-nextjs/src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ async function copyResources(
147147
): Promise<void> {
148148
const appDirExists = await exists(appDir);
149149
if (!appDirExists) return;
150-
const pathsToMove = await readdir(appDir);
151-
for (const path of pathsToMove) {
150+
const pathsToCopy = await readdir(appDir);
151+
for (const path of pathsToCopy) {
152152
const isbundleYamlDir = join(appDir, path) === dirname(bundleYamlPath);
153153
const existsInOutputBundle = await exists(join(outputBundleAppDir, path));
154154
// Keep apphosting.yaml files in the root directory still, as later steps expect them to be there

0 commit comments

Comments
 (0)