UNPKG

gitmoji-cli

Version:

A gitmoji client for using emojis on commit messages.

8 lines 274 B
import { ProxyAgent } from 'proxy-agent'; export const buildFetchOptions = () => { const isProxyConfigured = process.env.https_proxy || process.env.http_proxy; return isProxyConfigured ? { agent: new ProxyAgent() } : undefined; }; export default buildFetchOptions;