Skip to content

Commit 2cbede8

Browse files
committed
fix lint
1 parent 0e4bee3 commit 2cbede8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/adapter/adapter.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const adapter: NextAdapter = {
2929
async onBuildComplete(nextAdapterContext) {
3030
// for dev/debugging purposes only
3131
await writeFile('./onBuildComplete.json', JSON.stringify(nextAdapterContext, null, 2))
32+
// debugger
3233

3334
console.log('onBuildComplete hook called')
3435

@@ -53,8 +54,6 @@ const adapter: NextAdapter = {
5354
JSON.stringify(frameworksAPIConfig, null, 2),
5455
)
5556
}
56-
57-
debugger
5857
},
5958
}
6059

src/adapter/middleware.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
import { cp, mkdir, readFile, writeFile } from 'node:fs/promises'
12
import { dirname, join, parse } from 'node:path'
23
import { fileURLToPath } from 'node:url'
34

5+
import { glob } from 'fast-glob'
46
import { pathToRegexp } from 'path-to-regexp'
57

68
import type { FrameworksAPIConfig, NextConfigComplete, OnBuildCompleteContext } from './types.js'
7-
import { cp, mkdir, readFile, writeFile } from 'node:fs/promises'
8-
import { glob } from 'fast-glob'
99

1010
const NETLIFY_FRAMEWORKS_API_EDGE_FUNCTIONS = '.netlify/v1/edge-functions'
1111
const MIDDLEWARE_FUNCTION_NAME = 'middleware'

0 commit comments

Comments
 (0)