mirror of
https://code.forgejo.org/actions/checkout
synced 2025-04-21 00:03:53 +08:00
Update NPM dependencies (#1703)
* Update dependencies manually * Format files * Update licenses
This commit is contained in:
parent
0ad4b8fada
commit
9c1e94e0ad
50 changed files with 33279 additions and 23501 deletions
|
@ -7,11 +7,11 @@ let git: IGitCommandManager
|
|||
|
||||
describe('ref-helper tests', () => {
|
||||
beforeEach(() => {
|
||||
git = ({} as unknown) as IGitCommandManager
|
||||
git = {} as unknown as IGitCommandManager
|
||||
})
|
||||
|
||||
it('getCheckoutInfo requires git', async () => {
|
||||
const git = (null as unknown) as IGitCommandManager
|
||||
const git = null as unknown as IGitCommandManager
|
||||
try {
|
||||
await refHelper.getCheckoutInfo(git, 'refs/heads/my/branch', commit)
|
||||
throw new Error('Should not reach here')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue