Skip to content

Commit 7316e5d

Browse files
committed
chore: use stderr instead of stdout
1 parent b950dd0 commit 7316e5d

File tree

3 files changed

+6
-18
lines changed

3 files changed

+6
-18
lines changed

dist/post_run/index.js

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

dist/run/index.js

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

src/run.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,8 @@ async function getConfigPath(binPath: string, userArgsMap: Map<string, string>,
195195

196196
try {
197197
const resPath = await execShellCommand(cmdConfigPath, cmdArgs)
198-
core.info(`stdout: ${resPath.stdout}`)
199-
core.info(`stderr: ${resPath.stderr}`)
200-
core.info(`CONFIG PATH: ${resPath.stdout.trim()}`)
201-
return resPath.stdout.trim()
202-
} catch (exc) {
203-
printOutput(exc)
198+
return resPath.stderr.trim()
199+
} catch {
204200
return ``
205201
}
206202
}

0 commit comments

Comments
 (0)