From 7fd9428cbb860ba94a6f0b86b130ec5494815d44 Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Fri, 15 May 2020 09:12:17 +1000 Subject: [PATCH] Fix stash directory with spaces (#541) --- pkg/api/server.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/api/server.go b/pkg/api/server.go index 8e122de33..9604275f6 100644 --- a/pkg/api/server.go +++ b/pkg/api/server.go @@ -230,7 +230,8 @@ func Start() { _ = os.Mkdir(downloads, 0755) - config.Set(config.Stash, stash) + // #536 - set stash as slice of strings + config.Set(config.Stash, []string{stash}) config.Set(config.Generated, generated) config.Set(config.Metadata, metadata) config.Set(config.Cache, cache)