From 2db63a897d5ae25e076f396168f0055e00404116 Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Mon, 2 Sep 2019 17:21:26 -0500 Subject: [PATCH] WIP --- lib/main.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/main.js b/lib/main.js index 4055253..3c09ec6 100644 --- a/lib/main.js +++ b/lib/main.js @@ -13,13 +13,13 @@ async function run() { core.warning(process.env.INPUT_GITHUB_TOKEN) core.warning(` Available environment variables:\n -> ${Object.keys(process.env).map(i => i + ' :: ' + process.env[i]).join('\n -> ')}`) - let dir = fs.readdirSync(path.resolve(process.env.GITHUB_WORKSPACE), { withFileTypes: true }).map(entry => { - return `${entry.isDirectory() ? '> ' : ' - '}${entry.name}` - }).join('\n') + // let dir = fs.readdirSync(path.resolve(process.env.GITHUB_WORKSPACE), { withFileTypes: true }).map(entry => { + // return `${entry.isDirectory() ? '> ' : ' - '}${entry.name}` + // }).join('\n') - core.warning(` Working Directory: ${process.env.GITHUB_WORKSPACE}:\n${dir}`) + // core.warning(` Working Directory: ${process.env.GITHUB_WORKSPACE}:\n${dir}`) - let dir2 = fs.readdirSync(path.resolve(process.env.RUNNER_WORKSPACE), { withFileTypes: true }).map(entry => { + let dir2 = fs.readdirSync(process.env.RUNNER_WORKSPACE, { withFileTypes: true }).map(entry => { return `${entry.isDirectory() ? '> ' : ' - '}${entry.name}` }).join('\n')