File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Toolkit.run(async tools => {
4646 milestone : tools . inputs . milestone || attributes . milestone
4747 } )
4848
49- core . setOutput ( 'number' , issue . data . number )
49+ core . setOutput ( 'number' , String ( issue . data . number ) )
5050 core . setOutput ( 'url' , issue . data . html_url )
5151 tools . log . success ( `Created issue ${ issue . data . title } #${ issue . data . number } : ${ issue . data . html_url } ` )
5252 } catch ( err ) {
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ describe('create-an-issue', () => {
5454 // Verify that the outputs were set
5555 expect ( core . setOutput ) . toHaveBeenCalledTimes ( 2 )
5656 expect ( core . setOutput ) . toHaveBeenCalledWith ( 'url' , 'www' )
57- expect ( core . setOutput ) . toHaveBeenCalledWith ( 'number' , 1 )
57+ expect ( core . setOutput ) . toHaveBeenCalledWith ( 'number' , '1' )
5858 } )
5959
6060 it ( 'creates a new issue from a different template' , async ( ) => {
You can’t perform that action at this time.
0 commit comments