aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-14 01:53:49 +0800
committerFabio Berger <me@fabioberger.com>2018-07-14 01:53:49 +0800
commit2f0a9148387b66d75b9ee3856e68f0ed3aa149de (patch)
tree33ba5ae3919d67c6a5faa7b0ed07249fa5b8d694 /packages
parent80071beaacd4303bd5c7edb699d202861fd98b50 (diff)
downloaddexon-0x-contracts-2f0a9148387b66d75b9ee3856e68f0ed3aa149de.tar
dexon-0x-contracts-2f0a9148387b66d75b9ee3856e68f0ed3aa149de.tar.gz
dexon-0x-contracts-2f0a9148387b66d75b9ee3856e68f0ed3aa149de.tar.bz2
dexon-0x-contracts-2f0a9148387b66d75b9ee3856e68f0ed3aa149de.tar.lz
dexon-0x-contracts-2f0a9148387b66d75b9ee3856e68f0ed3aa149de.tar.xz
dexon-0x-contracts-2f0a9148387b66d75b9ee3856e68f0ed3aa149de.tar.zst
dexon-0x-contracts-2f0a9148387b66d75b9ee3856e68f0ed3aa149de.zip
Fix linter
Diffstat (limited to 'packages')
-rw-r--r--packages/utils/src/fetchAsync.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/utils/src/fetchAsync.ts b/packages/utils/src/fetchAsync.ts
index 6ae2ba1a4..c02e5baba 100644
--- a/packages/utils/src/fetchAsync.ts
+++ b/packages/utils/src/fetchAsync.ts
@@ -7,7 +7,9 @@ export const fetchAsync = async (
timeoutMs: number = 20000,
): Promise<Response> => {
if (options.signal || (options as any).timeout) {
- throw new Error('Cannot call fetchAsync with options.signal or options.timeout. To set a timeout, please use the supplied "timeoutMs" parameter.');
+ throw new Error(
+ 'Cannot call fetchAsync with options.signal or options.timeout. To set a timeout, please use the supplied "timeoutMs" parameter.',
+ );
}
let optionsWithAbortParam;
if (!isNode) {