Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Dec 13, 2021
1 parent 3cec302 commit 13775ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/export/worker.ts
Expand Up @@ -215,7 +215,7 @@ export default async function exportPage({
subFolders ? `${_path}${sep}index.html` : `${_path}.html`
let htmlFilename = getHtmlFilename(filePath)

// dynamic routes can provide invalid extensions e.g. /blog/[...slug] returns an
// dynamic routes can provide invalid extensions e.g. /blog/[...slug] returns an
// extension of `.slug]`
const pageExt = isDynamic ? '' : extname(page)
const pathExt = isDynamic ? '' : extname(path)
Expand Down

0 comments on commit 13775ab

Please sign in to comment.