Skip to content

Commit f560c82

Browse files
XhmikosRerezrokah
andauthoredJan 4, 2022
fix: fix a few typos (#3937)
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
1 parent 0f8d5d8 commit f560c82

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎src/commands/base-command.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ const FALLBACK_HELP_CMD_WIDTH = 80
4141
const HELP_$ = NETLIFY_CYAN('$')
4242
// indent on commands or description on the help page
4343
const HELP_INDENT_WIDTH = 2
44-
// seperator width between term and description
45-
const HELP_SEPERATOR_WIDTH = 5
44+
// separator width between term and description
45+
const HELP_SEPARATOR_WIDTH = 5
4646

4747
/**
4848
* Formats a help list correctly with the correct indent
@@ -213,7 +213,7 @@ class BaseCommand extends Command {
213213
const bang = isCommand ? `${HELP_$} ` : ''
214214

215215
if (description) {
216-
const pad = termWidth + HELP_SEPERATOR_WIDTH
216+
const pad = termWidth + HELP_SEPARATOR_WIDTH
217217
const fullText = `${bang}${term.padEnd(pad - (isCommand ? 2 : 0))}${chalk.grey(description)}`
218218
return helper.wrap(fullText, helpWidth - HELP_INDENT_WIDTH, pad)
219219
}

‎src/utils/addons/prompts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = function generatePrompts(settings) {
2020
console.log('')
2121
}
2222

23-
// Handle shorthand config. Probably will be removed. Severly limited + not great UX
23+
// Handle shorthand config. Probably will be removed. Severely limited + not great UX
2424
if (typeof setting === 'string' || typeof setting === 'boolean') {
2525
if (typeof setting === 'string') {
2626
prompt = {

‎src/utils/traffic-mesh.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const forwardMessagesToLog = ({ subprocess }) => {
196196
stopSpinner({
197197
spinner,
198198
error: true,
199-
text: `${NETLIFYDEVERR} An error occured while bundling processing the messages from routing-local-proxy: ${err}`,
199+
text: `${NETLIFYDEVERR} An error occurred while bundling processing the messages from routing-local-proxy: ${err}`,
200200
})
201201

202202
firstBundleReject(err)

1 commit comments

Comments
 (1)

github-actions[bot] commented on Jan 4, 2022

@github-actions[bot]

📊 Benchmark results

Package size: 359 MB

Please sign in to comment.