File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1271,19 +1271,19 @@ export class GithubHelper {
12711271 } ;
12721272
12731273 try {
1274- process . stdout . write ( `Deleting repo ${ params . owner } /${ params . repo } ...` ) ;
1274+ console . log ( `Deleting repo ${ params . owner } /${ params . repo } ...` ) ;
12751275 await this . githubApi . repos . delete ( params ) ;
1276- process . stdout . write ( ' done.') ;
1276+ console . log ( '\t... done.') ;
12771277 } catch ( err ) {
1278- if ( err . status == 404 ) process . stdout . write ( ' not found.' ) ;
1278+ if ( err . status == 404 ) console . log ( ' not found.' ) ;
12791279 else console . error ( `\n\tSomething went wrong: ${ err } .` ) ;
12801280 }
12811281 try {
1282- process . stdout . write ( `Creating repo ${ params . owner } /${ params . repo } ...` ) ;
1282+ console . log ( `Creating repo ${ params . owner } /${ params . repo } ...` ) ;
12831283 await this . githubApi . repos . createForAuthenticatedUser ( {
12841284 name : this . githubRepo ,
12851285 } ) ;
1286- process . stdout . write ( ' done.') ;
1286+ console . log ( '\t... done.') ;
12871287 } catch ( err ) {
12881288 console . error ( `\n\tSomething went wrong: ${ err } .` ) ;
12891289 }
You can’t perform that action at this time.
0 commit comments