mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
chore: print current directory for debugging
This commit is contained in:
parent
297c6fe504
commit
a882f5b774
1 changed files with 2 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ import {IncomingWebhook} from '@slack/webhook'
|
||||||
import fs from 'fs'
|
import fs from 'fs'
|
||||||
//import fetch from 'node-fetch'
|
//import fetch from 'node-fetch'
|
||||||
import bent from 'bent'
|
import bent from 'bent'
|
||||||
|
import { cwd } from 'process';
|
||||||
|
|
||||||
async function main(): Promise<void> {
|
async function main(): Promise<void> {
|
||||||
try {
|
try {
|
||||||
|
|
@ -120,7 +121,7 @@ class TestReporter {
|
||||||
|
|
||||||
if(input.versionArtifactPath) {
|
if(input.versionArtifactPath) {
|
||||||
version = fs.readFileSync(input.versionArtifactPath).toString();
|
version = fs.readFileSync(input.versionArtifactPath).toString();
|
||||||
core.info(`Using EVA version ${version}`)
|
core.info(`Using EVA version ${version}, current directory: ${cwd()}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const a of input.artifactFilePaths) {
|
for (const a of input.artifactFilePaths) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue