Skip to content

Commit 4c184a7

Browse files
authored
chore: bump simple-git (#380)
1 parent 4250682 commit 4c184a7

File tree

4 files changed

+24
-22
lines changed

4 files changed

+24
-22
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 19 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@actions/core": "^1.6.0",
3535
"actions-toolkit": "github:EndBug/actions-toolkit#core-actions",
3636
"js-yaml": "^4.1.0",
37-
"simple-git": "^2.27.0",
37+
"simple-git": "^3.3.0",
3838
"string-argv": "^0.3.1"
3939
},
4040
"devDependencies": {

src/main.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,12 @@ core.info(`Running in ${baseDir}`)
178178
core.setFailed(e)
179179
})
180180

181-
async function add(
182-
ignoreErrors: 'all' | 'pathspec' | 'none' = 'none'
183-
): Promise<(void | Response<void>)[]> {
181+
async function add(ignoreErrors: 'all' | 'pathspec' | 'none' = 'none') {
184182
const input = getInput('add')
185183
if (!input) return []
186184

187185
const parsed = parseInputArray(input)
188-
const res: (void | Response<void>)[] = []
186+
const res: (string | void)[] = []
189187

190188
for (const args of parsed) {
191189
res.push(

0 commit comments

Comments
 (0)