Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ten-K committed Jul 28, 2022
1 parent b230b4c commit 2b71012
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pure-thin-cli",
"version": "0.0.6",
"description": "vue-pure-admin脚手架",
"main": "dist/index.js",
"main": "bin/www.js",
"scripts": {
"dev": "pnpm build && pure init thin demo",
"build": "tsup",
Expand Down
4 changes: 2 additions & 2 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const oraOptions: Options = {
}
const spinner: Ora = ora(oraOptions)

const progress = ({ method, stage, progress }: SimpleGitProgressEvent) => {
const proText = `git.${method} ${stage} stage ${pc.cyan(progress + '%')} complete`
const progress = ({ progress }: SimpleGitProgressEvent) => {
const proText = `Progress: ${pc.cyan(progress + '%')}`
spinner.start().text = proText
if (progress === 100) {
spinner.start().text = proText + pc.green(' Download Completed')
Expand Down

0 comments on commit 2b71012

Please sign in to comment.