Skip to content
Permalink
Browse files

Update unexportTemplates.go

Logic error, `-d` can be set but was never used.
  • Loading branch information...
anthonyrisinger committed Jan 19, 2018
1 parent 8c7ca38 commit 6da9974380f5b3a65c7380a82612199193b8c75b
Showing with 1 addition and 1 deletion.
  1. +1 −1 jiracmd/unexportTemplates.go
@@ -23,7 +23,7 @@ func CmdUnexportTemplatesRegistry() *jiracli.CommandRegistryEntry {
return CmdExportTemplatesUsage(cmd, &opts)
},
func(o *oreo.Client, globals *jiracli.GlobalOptions) error {
if opts.Dir != "" {
if opts.Dir == "" {
opts.Dir = fmt.Sprintf("%s/.jira.d/templates", jiracli.Homedir())
}
return CmdUnexportTemplates(globals, &opts)

0 comments on commit 6da9974

Please sign in to comment.
You can’t perform that action at this time.