Skip to content

Commit

Permalink
fix: change some words in report
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterAlfredLee committed Jul 22, 2021
1 parent fdbe673 commit 4745360
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import { cliInstance } from '../cli/cli'

interface ConverObj {
num: string;// 'Number'
feat: string;// 'Features'
feat: string;// 'Conversion item'
times?: number;// 'Conversion times'
}

const reportList: ConverObj[] = []
const tabDt = [
['Number', 'Features', 'Conversion count']
['Number', 'Conversion item', 'Conversion count']
];
const tabFormat = {
border: {
Expand Down Expand Up @@ -55,7 +55,7 @@ function recordConver (args: ConverObj) {
function printReport (dir: string, beginTime: number) {
cliInstance.update(20, { feat: 'All done!' });
cliInstance.stop()
console.log('features of successful conversion:')
console.log('conversion items successful converted:')
reportList.forEach(item => {
tabDt.push([item.num, item.feat, item.times?.toString()])
})
Expand Down

0 comments on commit 4745360

Please sign in to comment.