summaryrefslogtreecommitdiff
path: root/packages/webapi
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-09-22 18:50:12 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-09-22 18:50:12 +0000
commitd2853ebe6688a6f1a7ca0381453c2bf24f60617e (patch)
treeac605fa770516723b426b3250bbc76b74cf1faab /packages/webapi
parent5e4c5252bd80cbaf6a7ee4d4503ece007664410f (diff)
downloadastro-d2853ebe6688a6f1a7ca0381453c2bf24f60617e.tar.gz
astro-d2853ebe6688a6f1a7ca0381453c2bf24f60617e.tar.zst
astro-d2853ebe6688a6f1a7ca0381453c2bf24f60617e.zip
[ci] format
Diffstat (limited to 'packages/webapi')
-rw-r--r--packages/webapi/src/lib/fetch.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/webapi/src/lib/fetch.ts b/packages/webapi/src/lib/fetch.ts
index 9c1f7c446..f8500a846 100644
--- a/packages/webapi/src/lib/fetch.ts
+++ b/packages/webapi/src/lib/fetch.ts
@@ -1,14 +1,12 @@
+import { bootstrap as bootstrapGlobalAgent } from 'global-agent'
import type { RequestInit } from 'node-fetch'
import { default as nodeFetch, Headers, Request, Response } from 'node-fetch'
import Stream from 'node:stream'
import * as _ from './utils'
-import {
- bootstrap as bootstrapGlobalAgent
-} from 'global-agent';
bootstrapGlobalAgent({
environmentVariableNamespace: '',
-});
+})
export { Headers, Request, Response }