From f560aa75233ed3cd870578a291a82d1aa7e3907c Mon Sep 17 00:00:00 2001 From: Cameron Diver Date: Tue, 16 Oct 2018 11:23:20 +0100 Subject: [PATCH] export resolveProject function from compose module Signed-off-by: Cameron Diver --- lib/utils/compose.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/compose.coffee b/lib/utils/compose.coffee index 4102a938..3a772f98 100644 --- a/lib/utils/compose.coffee +++ b/lib/utils/compose.coffee @@ -40,7 +40,7 @@ compositionFileNames = [ # look into the given directory for valid compose files and return # the contents of the first one found. -resolveProject = (rootDir) -> +exports.resolveProject = resolveProject = (rootDir) -> fs = require('mz/fs') Promise.any compositionFileNames.map (filename) -> fs.readFile(path.join(rootDir, filename), 'utf-8')