Commit f76116e4 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

command/push: if a token isn't given, don't set it

parent d08815fc
...@@ -73,7 +73,9 @@ func (c *PushCommand) Run(args []string) int { ...@@ -73,7 +73,9 @@ func (c *PushCommand) Run(args []string) int {
return 1 return 1
} }
} }
c.client.Token = token if token != "" {
c.client.Token = token
}
// Build the archiving options // Build the archiving options
var opts archive.ArchiveOpts var opts archive.ArchiveOpts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment