This commit is contained in:
Corey Butler 2019-09-02 17:12:07 -05:00
parent eb7ada5c73
commit 6bc8d259e7

View File

@ -11,7 +11,7 @@ async function run() {
// const myInput = core.getInput('myInput')
// core.debug(`Hello ${myInput}`)
core.warning(process.env.INPUT_GITHUB_TOKEN)
let dir = fs.readdirSync(path.resolve(process.env.GITHUB_WORKSPACE), { withFileTypes: true }).map(entry => {
let dir = fs.readdirSync(path.resolve(process.env.GITHUB_WORKSPACE + '/../'), { withFileTypes: true }).map(entry => {
return `${entry.isDirectory() ? '> ' : ' - '}${entry.name}`
}).join('\n')