From f32a702c22a3ba788918b19c56311eb8ef358aa4 Mon Sep 17 00:00:00 2001 From: Nathan Craike Date: Mon, 10 Oct 2016 16:55:21 +1000 Subject: [PATCH] Fixes bug in starting web container. The bug was that we were still using the `$` proc for string output of conf.envVars. We've renamed our custom `$` proc, so the output was completely wrong. eg if no envVars were defined, the resulting command would contain "@[]". --- src/container.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/container.nim b/src/container.nim index ec39ca8..0d6a83b 100644 --- a/src/container.nim +++ b/src/container.nim @@ -144,7 +144,7 @@ proc startWebCmd*(conf: ProjectConfig, hasDb: bool = true): string {.raises: [], "-d", "-h", quoteShellPosix(hostname), "--name", quoteShellPosix(conf.web), port, - $conf.envVars, + argsToStr(conf.envVars), folder, link, "-e TERM=xterm-256color",