mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 14:57:09 +01:00
Update to node16 + recent versions of core and exec packages
This commit is contained in:
parent
0d9714ddc7
commit
e54753f811
7 changed files with 52 additions and 97 deletions
|
|
@ -1,11 +1,11 @@
|
|||
import * as core from '@actions/core'
|
||||
import exec from './exec'
|
||||
import {getExecOutput} from '@actions/exec'
|
||||
|
||||
export async function listFiles(): Promise<string[]> {
|
||||
core.startGroup('Listing all files tracked by git')
|
||||
let output = ''
|
||||
try {
|
||||
output = (await exec('git', ['ls-files', '-z'])).stdout
|
||||
output = (await getExecOutput('git', ['ls-files', '-z'])).stdout
|
||||
} finally {
|
||||
fixStdOutNullTermination()
|
||||
core.endGroup()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue