mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-03 03:35:22 -08:00
Update to node16 + recent versions of core and exec packages
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user