From ce07c59e1a6a2fa36dc417b4235a840554f83a2a Mon Sep 17 00:00:00 2001 From: Stephanie Wilde-Hobbs Date: Thu, 21 May 2020 11:22:13 +0100 Subject: [PATCH] Print working directory in log --- dist/post_run/index.js | 2 +- dist/run/index.js | 2 +- src/run.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/post_run/index.js b/dist/post_run/index.js index 720be8c..072438b 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -2403,7 +2403,7 @@ function runLint(lintPath) { throw new Error(`working-directory (${workingDirectory}) was not a path`); } const cmd = `${lintPath} run --out-format=github-actions ${args}`.trimRight(); - core.info(`Running [${cmd}] ...`); + core.info(`Running [${cmd}] in [${workingDirectory}] ...`); const startedAt = Date.now(); try { const res = yield execShellCommand(cmd, { cwd: workingDirectory }); diff --git a/dist/run/index.js b/dist/run/index.js index 438ea78..47c573b 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -2415,7 +2415,7 @@ function runLint(lintPath) { throw new Error(`working-directory (${workingDirectory}) was not a path`); } const cmd = `${lintPath} run --out-format=github-actions ${args}`.trimRight(); - core.info(`Running [${cmd}] ...`); + core.info(`Running [${cmd}] in [${workingDirectory}] ...`); const startedAt = Date.now(); try { const res = yield execShellCommand(cmd, { cwd: workingDirectory }); diff --git a/src/run.ts b/src/run.ts index 63dd5c7..470d5e4 100644 --- a/src/run.ts +++ b/src/run.ts @@ -63,7 +63,7 @@ async function runLint(lintPath: string): Promise { } const cmd = `${lintPath} run --out-format=github-actions ${args}`.trimRight() - core.info(`Running [${cmd}] ...`) + core.info(`Running [${cmd}] in [${workingDirectory}] ...`) const startedAt = Date.now() try { const res = await execShellCommand(cmd, { cwd: workingDirectory })