Skip to content

Commit 6b18932

Browse files
committed
Fix missing typescript casts
1 parent 56c4606 commit 6b18932

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/github/__tests__/github.proxy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('@actions/github', () => {
2222
proxyServer.listen(port, () => resolve())
2323
})
2424
proxyServer.on('connect', req => {
25-
proxyConnects.push(req.url)
25+
proxyConnects.push(req.url ?? '')
2626
})
2727
})
2828

packages/github/__tests__/github.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('@actions/github', () => {
1818
proxyServer.listen(port, () => resolve(null))
1919
})
2020
proxyServer.on('connect', req => {
21-
proxyConnects.push(req.url)
21+
proxyConnects.push(req.url ?? '')
2222
})
2323
})
2424

packages/http-client/__tests__/proxy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('proxy', () => {
1919
_proxyServer.listen(port, () => resolve())
2020
})
2121
_proxyServer.on('connect', req => {
22-
_proxyConnects.push(req.url)
22+
_proxyConnects.push(req.url ?? '')
2323
})
2424
})
2525

0 commit comments

Comments
 (0)