From 474294ced56ea72a1d71153d3ab0ac3cc6291edb Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Thu, 2 Apr 2020 23:17:44 -0500 Subject: [PATCH] Update docker strategy --- app/lib/docker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/docker.js b/app/lib/docker.js index c08d333..e2764d9 100644 --- a/app/lib/docker.js +++ b/app/lib/docker.js @@ -5,7 +5,7 @@ import fs from 'fs' 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') }