File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -115,22 +115,16 @@ var argv = require('yargs') // eslint-disable-line
115
115
116
116
const start = Date . now ( )
117
117
118
- app . log ( `Start of uploader: ${ start } ...` , { level : 'debug' , argv } )
118
+ app . verbose ( `Start of uploader: ${ start } ...` , argv . verbose )
119
119
app
120
120
. main ( argv )
121
121
. then ( ( ) => {
122
122
const end = Date . now ( )
123
- app . log ( `End of uploader: ${ end - start } milliseconds` , {
124
- level : 'debug' ,
125
- argv,
126
- } )
123
+ app . verbose ( `End of uploader: ${ end - start } milliseconds` , argv . verbose )
127
124
} )
128
125
. catch ( error => {
129
126
app . log ( `Error!: ${ error } ` , { level : 'error' , argv } )
130
127
const end = Date . now ( )
131
- app . log ( `End of uploader: ${ end - start } milliseconds` , {
132
- level : 'debug' ,
133
- argv,
134
- } )
128
+ app . verbose ( `End of uploader: ${ end - start } milliseconds` , argv . verbose )
135
129
process . exit ( argv . nonZero ? - 1 : 0 )
136
130
} )
Original file line number Diff line number Diff line change @@ -276,4 +276,5 @@ module.exports = {
276
276
main,
277
277
getVersion,
278
278
generateHeader,
279
+ verbose,
279
280
}
You can’t perform that action at this time.
0 commit comments