Skip to content

Commit

Permalink
fix formatting from #69164
Browse files Browse the repository at this point in the history
  • Loading branch information
lubieowoce committed Aug 22, 2024
1 parent 427c01d commit 42f0129
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 3 additions & 2 deletions packages/next/src/server/lib/incremental-cache/fetch-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ export default class FetchCache implements CacheHandler {
process.env.SUSPENSE_CACHE_BASEPATH

if (process.env.SUSPENSE_CACHE_AUTH_TOKEN) {
this.headers['Authorization'] =
`Bearer ${process.env.SUSPENSE_CACHE_AUTH_TOKEN}`
this.headers[
'Authorization'
] = `Bearer ${process.env.SUSPENSE_CACHE_AUTH_TOKEN}`
}

if (scHost) {
Expand Down
7 changes: 3 additions & 4 deletions test/production/app-dir/fetch-cache/fetch-cache.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,9 @@ describe('fetch-cache', () => {
const testServer = join(next.testDir, 'standalone/server.js')
await fs.writeFile(
testServer,
(await fs.readFile(testServer, 'utf8')).replace(
'port:',
`minimalMode: ${minimalMode},port:`
)
(
await fs.readFile(testServer, 'utf8')
).replace('port:', `minimalMode: ${minimalMode},port:`)
)
appPort = await findPort()
nextInstance = await initNextServerScript(
Expand Down

0 comments on commit 42f0129

Please sign in to comment.