mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 13:33:32 +02:00
Merge pull request #142 from anthonyrisinger/patch-1
Update unexportTemplates.go
This commit is contained in:
@@ -23,7 +23,7 @@ func CmdUnexportTemplatesRegistry() *jiracli.CommandRegistryEntry {
|
|||||||
return CmdExportTemplatesUsage(cmd, &opts)
|
return CmdExportTemplatesUsage(cmd, &opts)
|
||||||
},
|
},
|
||||||
func(o *oreo.Client, globals *jiracli.GlobalOptions) error {
|
func(o *oreo.Client, globals *jiracli.GlobalOptions) error {
|
||||||
if opts.Dir != "" {
|
if opts.Dir == "" {
|
||||||
opts.Dir = fmt.Sprintf("%s/.jira.d/templates", jiracli.Homedir())
|
opts.Dir = fmt.Sprintf("%s/.jira.d/templates", jiracli.Homedir())
|
||||||
}
|
}
|
||||||
return CmdUnexportTemplates(globals, &opts)
|
return CmdUnexportTemplates(globals, &opts)
|
||||||
|
|||||||
Reference in New Issue
Block a user