From dec8dcd1af4084079c8a00ee9cb60b606c30e865 Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Thu, 2 Apr 2020 23:19:41 -0500 Subject: [PATCH] WIP --- app/lib/docker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/docker.js b/app/lib/docker.js index e2764d9..b9c767b 100644 --- a/app/lib/docker.js +++ b/app/lib/docker.js @@ -1,11 +1,12 @@ import Regex from './regex.js' import path from 'path' import fs from 'fs' +import core from '@actions/core' export default class Dockerfile extends Regex { constructor (root = null) { root = path.join(process.env.GITHUB_WORKSPACE, root) - + core.debug(fs.readdirSync(root)) if (fs.statSync(root).isDirectory()) { root = path.join(root, 'Dockerfile') }