mirror of
https://github.com/actions/checkout.git
synced 2025-04-20 01:26:46 +00:00
Run format, lint and build
Signed-off-by: Luca Comellini <luca.com@gmail.com>
This commit is contained in:
parent
44c2b7a8a4
commit
b260373e81
9 changed files with 9720 additions and 29471 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