Skip to content

Commit

Permalink
fix failing tests; remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Dec 6, 2021
1 parent 269b90a commit 82ba899
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/next/server/base-server.ts
Expand Up @@ -59,7 +59,6 @@ import {
} from './api-utils'
import { isTargetLikeServerless } from './config'
import pathMatch from '../shared/lib/router/utils/path-match'
import { recursiveReadDirSync } from './lib/recursive-readdir-sync'
import { loadComponents } from './load-components'
import { normalizePagePath } from './normalize-page-path'
import { renderToHTML } from './render'
Expand Down
2 changes: 1 addition & 1 deletion packages/next/server/dev/next-dev-server.ts
Expand Up @@ -171,7 +171,7 @@ export default class DevServer extends Server {
this.pagesDir = findPagesDir(this.dir)
}

protected readBuildId(): string {
protected getBuildId(): string {
return 'development'
}

Expand Down

0 comments on commit 82ba899

Please sign in to comment.