From 597d51563381025fee87d4727072cb44f8a981c5 Mon Sep 17 00:00:00 2001 From: Tony Kovanen Date: Sun, 14 Aug 2016 22:53:31 +0300 Subject: [PATCH] Include comment parsing from the Dockerfile --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 9eba340..e834998 100644 --- a/lib/index.js +++ b/lib/index.js @@ -80,7 +80,7 @@ export default class Now extends EventEmitter { let docker; try { const dockerfile = await readFile(resolvePath(path, 'Dockerfile'), 'utf8'); - docker = parseDockerfile(dockerfile); + docker = parseDockerfile(dockerfile, { includeComments: true }); } catch (err) { const e = Error(`Failed to parse "${path}/Dockerfile"`); e.userError = true;