File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,13 @@ const main = async function (argv) {
121
121
auth : token
122
122
} )
123
123
124
+ note ( `Getting issues from Github...` )
124
125
const issues = await github . paginate ( 'GET /issues' )
125
- const todos = await getTodos ( filename , key )
126
+ note ( `Done. ( ${ issues . length } )\n` )
126
127
127
- if ( ! quiet ) {
128
- note ( `${ todos . length } lines in ${ filename } \n` )
129
- note ( `${ issues . length } issues on Github\n` )
130
- }
128
+ note ( `Getting todos from ${ filename } ...` )
129
+ const todos = await getTodos ( filename , key )
130
+ note ( `Done. (${ todos . length } )\n` )
131
131
132
132
let repo , id , todo , number
133
133
@@ -189,11 +189,15 @@ const main = async function (argv) {
189
189
190
190
const backup = `${ filename } .bak`
191
191
192
- note ( `Backing up ${ filename } to ${ backup } ...\n ` )
192
+ note ( `Backing up ${ filename } to ${ backup } ...` )
193
193
194
194
await rename ( filename , backup )
195
195
196
+ note ( `Done.\n` )
197
+
198
+ note ( `Writing todos to ${ filename } ...` )
196
199
await writeTodos ( filename , todos )
200
+ note ( `Done.\n` )
197
201
}
198
202
199
203
main ( argv )
You can’t perform that action at this time.
0 commit comments