summaryrefslogtreecommitdiffstats
path: root/commands/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/server.go')
-rw-r--r--commands/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/server.go b/commands/server.go
index e2a9fa021..8e778875f 100644
--- a/commands/server.go
+++ b/commands/server.go
@@ -116,6 +116,7 @@ var serverPorts []int
func server(cmd *cobra.Command, args []string) error {
// If a Destination is provided via flag write to disk
+ destination, _ := cmd.Flags().GetString("destination")
if destination != "" {
renderToDisk = true
}