Skip to content

Commit

Permalink
chore: fix typo (#336)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
danez and kodiakhq[bot] committed Mar 13, 2023
1 parent f9b82bc commit 7c893a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/formats/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { FormatFunction } from '../server/server.js'
const defaultFormatExportTypeError: FormatFunction = (name) =>
`The Edge Function "${name}" has failed to load. Does it have a function as the default export?`

const defaultFormatImpoortError: FormatFunction = (name) => `There was an error with Edge Function "${name}".`
const defaultFormatImportError: FormatFunction = (name) => `There was an error with Edge Function "${name}".`

interface GenerateStage2Options {
bootstrapURL: string
Expand Down Expand Up @@ -54,7 +54,7 @@ const getLocalEntryPoint = (
{
bootstrapURL,
formatExportTypeError = defaultFormatExportTypeError,
formatImportError = defaultFormatImpoortError,
formatImportError = defaultFormatImportError,
}: GetLocalEntryPointOptions,
) => {
const bootImport = `import { boot } from "${bootstrapURL}";`
Expand Down

0 comments on commit 7c893a7

Please sign in to comment.