提交 569e7aca 编写于 作者: M Matthew Sweeney 提交者: Joe Haddad

Improve Stalled Requests Grammar (#10283)

上级 799bb425
......@@ -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) {
......
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册