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:
Mike Pountney
2016-03-23 21:22:02 +00:00
parent 3a9f763f9d
commit 71bb04fabb
2 changed files with 20 additions and 19 deletions
+1
View File
@@ -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)