Skip to content

Commit 9c63bda

Browse files
committed
fix auto format mistakes
1 parent 7663f5a commit 9c63bda

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fetch.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { ReactNativeBlobUtilConfig } from "./types";
1+
import {ReactNativeBlobUtilConfig} from "./types";
22
import URIUtil from "./utils/uri";
33
import fs from "./fs";
44
import getUUID from "./utils/uuid";
5-
import { DeviceEventEmitter } from "react-native";
6-
import { FetchBlobResponse } from "./class/ReactNativeBlobUtilBlobResponse";
5+
import {DeviceEventEmitter} from "react-native";
6+
import {FetchBlobResponse} from "./class/ReactNativeBlobUtilBlobResponse";
77
import CanceledFetchError from "./class/ReactNativeBlobUtilCanceledFetchError";
88
import ReactNativeBlobUtil from "./codegenSpecs/NativeBlobUtils";
99

@@ -56,7 +56,7 @@ emitter.addListener("ReactNativeBlobUtilMessage", (e) => {
5656
* @return {function} This method returns a `fetch` method instance.
5757
*/
5858
export function config(options: ReactNativeBlobUtilConfig) {
59-
return { fetch: fetch.bind(options) };
59+
return {fetch: fetch.bind(options)};
6060
}
6161

6262
/**
@@ -106,7 +106,7 @@ function fetchFile(options = {}, method, url, headers = {}, body): Promise {
106106
stream.open();
107107
info = {
108108
state: "2",
109-
headers: { 'source': 'system-fs' },
109+
headers: {'source': 'system-fs'},
110110
status: 200,
111111
respType: 'text',
112112
rnfbEncode: headers.encoding || 'utf8'

0 commit comments

Comments
 (0)