Skip to content

Commit 8da0961

Browse files
committed
Typofixes
1 parent efa94fe commit 8da0961

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

overrides/path/php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PATH="${PATH//`dirname "$0"`:/}"
66
real_php=`command -v php`
77
PATH="`dirname "$0"`:$PATH"
88

9-
# Strip out our PHP_INI_SCAN_DIR - if this file has been run succesfully, then it's not necessary,
9+
# Strip out our PHP_INI_SCAN_DIR - if this file has been run successfully, then it's not necessary,
1010
# and it can cause problems (since it overrides any default scan directories configured)
1111
export INJECTED_PHP_INI_DIR=$HTTP_TOOLKIT_OVERRIDE_PATH/php
1212
export PHP_INI_SCAN_DIR="${PHP_INI_SCAN_DIR//:$INJECTED_PHP_INI_DIR/}"

src/api/api-model.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class ApiModel {
8484
};
8585
}
8686

87-
// Seperate purely to support the GQL API resolver structure
87+
// Separate purely to support the GQL API resolver structure
8888
getDnsServers(proxyPort: number) {
8989
return withFallback(async () => {
9090
const dnsServer = await getDnsServer(proxyPort);
@@ -140,7 +140,7 @@ export class ApiModel {
140140
};
141141
}
142142

143-
// Seperate purely to support the GQL API resolver structure
143+
// Separate purely to support the GQL API resolver structure
144144
async isInterceptorActive(id: string, proxyPort: number) {
145145
const interceptor = this.interceptors[id];
146146

src/client/http-client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export class HttpClient {
119119

120120
// Node supports sending raw headers via [key, value, key, value] array, but if we do
121121
// so with 'headers' above then we can't removeHeader first (to disable the defaults).
122-
// Instead we remove headers and then manunally trigger the 'raw' write behaviour.
122+
// Instead we remove headers and then manually trigger the 'raw' write behaviour.
123123

124124
request.removeHeader('connection');
125125
request.removeHeader('transfer-encoding');

src/interceptors/docker/docker-commands.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export async function transformContainerCreationConfig(
9090
baseImageConfig?.ContainerConfig;
9191

9292
// Combine the image config with the container creation options. Most
93-
// fields are overriden by container config, a couple are merged:
93+
// fields are overridden by container config, a couple are merged:
9494
const currentConfig: Docker.ContainerCreateOptions = {
9595
...imageContainerConfig,
9696
...containerConfig,

src/interceptors/docker/docker-tunnel-proxy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const pullTunnelImage = (docker: Docker) =>
1919
.then(stream => waitForDockerStream(docker, stream));
2020

2121
// Parallel mutation of a single Docker container's state is asking for trouble, so we use
22-
// a simple lock over all operations (across all proxes, not per-proxy, just for simplicity/safety).
22+
// a simple lock over all operations (across all proxies, not per-proxy, just for simplicity/safety).
2323
const containerMutex = new Mutex();
2424

2525
// Starts pulling the docker tunnel image, just to ensure it's available if we need it.

src/interceptors/terminal/terminal-env-overrides.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function getTerminalEnvVars(
2727
| 'posix-runtime-inherit'
2828
| 'powershell-runtime-inherit',
2929

30-
// All 3 of the below must be overriden together, or not at all, to avoid
30+
// All 3 of the below must be overridden together, or not at all, to avoid
3131
// mixing platforms & default (platform-specific) paths
3232
targetEnvConfig?: {
3333
httpToolkitHost: string,

src/interceptors/terminal/terminal-scripts.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const getBashShellScript = (callbackUrl: string, env: { [name: string]: s
8686
fi
8787
8888
if command -v curl >/dev/null 2>&1; then
89-
# Let the HTTP Toolkit app know this ran succesfully
89+
# Let the HTTP Toolkit app know this ran successfully
9090
(curl --noproxy '*' -X POST "${callbackUrl}" >/dev/null 2>&1 &) &> /dev/null
9191
fi
9292
@@ -117,7 +117,7 @@ export const getFishShellScript = (callbackUrl: string, env: { [name: string]: s
117117
end
118118
119119
if command -v curl >/dev/null 2>&1
120-
# Let the HTTP Toolkit app know this ran succesfully
120+
# Let the HTTP Toolkit app know this ran successfully
121121
curl --noproxy '*' -X POST "${callbackUrl}" >/dev/null 2>&1 &
122122
end
123123
@@ -157,7 +157,7 @@ ${
157157
# Then we disable cert checks completely - all traffic will go to us, we'll handle HTTPS upstream
158158
$PSDefaultParameterValues["invoke-webrequest:SkipCertificateCheck"] = $True
159159
160-
# Let the HTTP Toolkit app know this ran succesfully
160+
# Let the HTTP Toolkit app know this ran successfully
161161
Start-Job -ScriptBlock { Invoke-WebRequest "${callbackUrl}" -NoProxy -Method 'POST' } | out-null
162162
163163
Write-Host "HTTP Toolkit interception enabled\`nTo stop intercepting type " -NoNewline

0 commit comments

Comments
 (0)