mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-31 18:28:27 +02:00
Include templates from a system path
I've found that several of the built-in templates need a bit of work to be useful with our JIRA installation (eg #24), so this allows for admins to make a site-specific set of defaults easily.
This commit is contained in:
@@ -57,6 +57,7 @@ func FindClosestParentPath(fileName string) (string, error) {
|
||||
func readFile(file string) string {
|
||||
var bytes []byte
|
||||
var err error
|
||||
log.Debugf("readFile: reading %q", file)
|
||||
if bytes, err = ioutil.ReadFile(file); err != nil {
|
||||
log.Errorf("Failed to read file %s: %s", file, err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user