chore: bump simple-git (#380)

This commit is contained in:
Federico Grandi
2022-03-18 11:22:57 +01:00
committed by GitHub
parent 4250682bb5
commit 4c184a79ea
4 changed files with 24 additions and 22 deletions

View File

@@ -178,14 +178,12 @@ core.info(`Running in ${baseDir}`)
core.setFailed(e)
})
async function add(
ignoreErrors: 'all' | 'pathspec' | 'none' = 'none'
): Promise<(void | Response<void>)[]> {
async function add(ignoreErrors: 'all' | 'pathspec' | 'none' = 'none') {
const input = getInput('add')
if (!input) return []
const parsed = parseInputArray(input)
const res: (void | Response<void>)[] = []
const res: (string | void)[] = []
for (const args of parsed) {
res.push(