File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ const FALLBACK_HELP_CMD_WIDTH = 80
41
41
const HELP_$ = NETLIFY_CYAN ( '$' )
42
42
// indent on commands or description on the help page
43
43
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
46
46
47
47
/**
48
48
* Formats a help list correctly with the correct indent
@@ -213,7 +213,7 @@ class BaseCommand extends Command {
213
213
const bang = isCommand ? `${ HELP_$ } ` : ''
214
214
215
215
if ( description ) {
216
- const pad = termWidth + HELP_SEPERATOR_WIDTH
216
+ const pad = termWidth + HELP_SEPARATOR_WIDTH
217
217
const fullText = `${ bang } ${ term . padEnd ( pad - ( isCommand ? 2 : 0 ) ) } ${ chalk . grey ( description ) } `
218
218
return helper . wrap ( fullText , helpWidth - HELP_INDENT_WIDTH , pad )
219
219
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module.exports = function generatePrompts(settings) {
20
20
console . log ( '' )
21
21
}
22
22
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
24
24
if ( typeof setting === 'string' || typeof setting === 'boolean' ) {
25
25
if ( typeof setting === 'string' ) {
26
26
prompt = {
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ const forwardMessagesToLog = ({ subprocess }) => {
196
196
stopSpinner ( {
197
197
spinner,
198
198
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 } ` ,
200
200
} )
201
201
202
202
firstBundleReject ( err )
You can’t perform that action at this time.
1 commit comments
github-actions[bot] commentedon Jan 4, 2022
📊 Benchmark results
Package size: 359 MB