We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 487c247 commit 299d3c2Copy full SHA for 299d3c2
packages/@apphosting/adapter-nextjs/src/utils.ts
@@ -147,8 +147,8 @@ async function copyResources(
147
): Promise<void> {
148
const appDirExists = await exists(appDir);
149
if (!appDirExists) return;
150
- const pathsToMove = await readdir(appDir);
151
- for (const path of pathsToMove) {
+ const pathsToCopy = await readdir(appDir);
+ for (const path of pathsToCopy) {
152
const isbundleYamlDir = join(appDir, path) === dirname(bundleYamlPath);
153
const existsInOutputBundle = await exists(join(outputBundleAppDir, path));
154
// Keep apphosting.yaml files in the root directory still, as later steps expect them to be there
0 commit comments