Skip to content

Commit

Permalink
Merge pull request #142 from anthonyrisinger/patch-1
Browse files Browse the repository at this point in the history
Update unexportTemplates.go
  • Loading branch information
coryb authored Jan 19, 2018
2 parents 8c7ca38 + 6da9974 commit 4ae760f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jiracmd/unexportTemplates.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4ae760f

Please sign in to comment.