Skip to content

Commit 2d63c12

Browse files
Nikita Steninyarastqt
authored andcommitted
chore(pack): fix typos
1 parent 2e99c56 commit 2d63c12

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/pack/src/Progress.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ type Options = {
44
steps: string[]
55
}
66

7-
class Pgoress {
7+
class Progress {
88
private spinner: Spinner.Ora
99
private steps: string[]
1010
private hrstart: [number, number] = [0, 0]
@@ -30,6 +30,6 @@ class Pgoress {
3030
}
3131
}
3232

33-
export function createPgoress(options: Options): Pgoress {
34-
return new Pgoress(options)
33+
export function createProgress(options: Options): Progress {
34+
return new Progress(options)
3535
}

packages/pack/src/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { resolve } from 'path'
22

33
import { Config, HookOptions } from './interfaces'
44
import { wrapToPromise } from './wrapToPromise'
5-
import { createPgoress } from './Progress'
5+
import { createProgress } from './Progress'
66

77
const steps = ['onStart', 'onBeforeRun', 'onRun', 'onAfterRun', 'onFinish']
88

@@ -13,7 +13,7 @@ export async function tryBuild(config: Config): Promise<void> {
1313
output: resolve(config.context, config.output),
1414
}
1515

16-
const progress = createPgoress({ steps })
16+
const progress = createProgress({ steps })
1717

1818
// TODO: Catch errors from plugins and stop progress with message.
1919
progress.start()

packages/pack/src/debug.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import createDeubg from 'debug'
1+
import createDebug from 'debug'
22

3-
export const mark = createDeubg('@bem-react/pack')
3+
export const mark = createDebug('@bem-react/pack')

0 commit comments

Comments
 (0)