File tree 2 files changed +2
-2
lines changed 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 => {
46
46
milestone : tools . inputs . milestone || attributes . milestone
47
47
} )
48
48
49
- core . setOutput ( 'number' , issue . data . number )
49
+ core . setOutput ( 'number' , String ( issue . data . number ) )
50
50
core . setOutput ( 'url' , issue . data . html_url )
51
51
tools . log . success ( `Created issue ${ issue . data . title } #${ issue . data . number } : ${ issue . data . html_url } ` )
52
52
} catch ( err ) {
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ describe('create-an-issue', () => {
54
54
// Verify that the outputs were set
55
55
expect ( core . setOutput ) . toHaveBeenCalledTimes ( 2 )
56
56
expect ( core . setOutput ) . toHaveBeenCalledWith ( 'url' , 'www' )
57
- expect ( core . setOutput ) . toHaveBeenCalledWith ( 'number' , 1 )
57
+ expect ( core . setOutput ) . toHaveBeenCalledWith ( 'number' , '1' )
58
58
} )
59
59
60
60
it ( 'creates a new issue from a different template' , async ( ) => {
You can’t perform that action at this time.
0 commit comments