Skip to content

Commit

Permalink
fix: await edge function route registration (#6631)
Browse files Browse the repository at this point in the history
  • Loading branch information
cubeghost authored May 20, 2024
1 parent e87635e commit 9207de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/functions/functions-create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ const scaffoldFromTemplate = async function (command, options, argumentName, fun
}

if (funcType === 'edge') {
registerEFInToml(name, command.netlify)
await registerEFInToml(name, command.netlify)
}

await installAddons(command, addons, path.resolve(functionPath))
Expand Down

2 comments on commit 9207de5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,364
  • Package size: 313 MB
  • Number of ts-expect-error directives: 999

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,364
  • Package size: 313 MB
  • Number of ts-expect-error directives: 999

Please sign in to comment.