Skip to content

Commit

Permalink
Improve Stalled Requests Grammar (#10283)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Sweeney authored and Timer committed Jan 27, 2020
1 parent 799bb42 commit 569e7ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/next/next-server/server/api-utils.ts
Expand Up @@ -59,7 +59,7 @@ export async function apiResolver(

if (process.env.NODE_ENV !== 'production' && !isResSent(res)) {
console.warn(
`API resolved without sending a response for ${req.url}, this may result in a stalled requests.`
`API resolved without sending a response for ${req.url}, this may result in stalled requests.`
)
}
} catch (err) {
Expand Down
2 changes: 1 addition & 1 deletion test/integration/api-support/test/index.test.js
Expand Up @@ -344,7 +344,7 @@ function runTests(dev = false) {
signal: controller.signal,
}).catch(() => {})
expect(stderr).toContain(
`API resolved without sending a response for /api/test-no-end, this may result in a stalled requests`
`API resolved without sending a response for /api/test-no-end, this may result in stalled requests.`
)
})
} else {
Expand Down

0 comments on commit 569e7ac

Please sign in to comment.