Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Last-Order committed Feb 23, 2024
1 parent 322d92a commit 162793b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ Erii.bind(
},
async (ctx, options) => {
const path = ctx.getArgument().toString();
if (options.verbose) {
logger.enableDebugMode();
}
if (!options.noProxy && !process.env.NO_PROXY) {
if (options.verbose) {
logger.enableDebugMode();
}
if (process.platform === "win32") {
await ProxyAgent.readWindowsSystemProxy();
}
ProxyAgent.readProxyConfigurationFromEnv();
}
ProxyAgent.readProxyConfigurationFromEnv();
const fileOptions = readConfigFile();
if (Object.keys(fileOptions).length > 0) {
logger.debug(`Read config file: ${JSON.stringify(fileOptions)}`);
Expand Down

0 comments on commit 162793b

Please sign in to comment.