chore: Move to prettier standard double quotes (#1309)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
// @flow
|
||||
import stream from 'stream';
|
||||
import { type Context } from 'koa';
|
||||
import stream from "stream";
|
||||
import { type Context } from "koa";
|
||||
|
||||
export default function apiWrapper() {
|
||||
return async function apiWrapperMiddleware(
|
||||
@ -12,7 +12,7 @@ export default function apiWrapper() {
|
||||
const ok = ctx.status < 400;
|
||||
|
||||
if (
|
||||
typeof ctx.body !== 'string' &&
|
||||
typeof ctx.body !== "string" &&
|
||||
!(ctx.body instanceof stream.Readable)
|
||||
) {
|
||||
// $FlowFixMe
|
||||
|
Reference in New Issue
Block a user