1
0
mirror of https://github.com/strongdm/comply synced 2024-11-22 07:34:54 +00:00
This commit is contained in:
Justin McCarthy 2018-07-23 11:56:44 -07:00
parent 3f5d9b4409
commit b329107079
No known key found for this signature in database
GPG Key ID: 900437410E142A48

View File

@ -108,7 +108,7 @@ func ReadNarratives() ([]*Document, error) {
} }
n.Body = mdmd.body n.Body = mdmd.body
n.FullPath = f.FullPath n.FullPath = f.FullPath
n.ModifiedAt = f.ModTime() n.ModifiedAt = f.Info.ModTime()
n.OutputFilename = fmt.Sprintf("%s-%s.pdf", config.Config().FilePrefix, n.Acronym) n.OutputFilename = fmt.Sprintf("%s-%s.pdf", config.Config().FilePrefix, n.Acronym)
narratives = append(narratives, n) narratives = append(narratives, n)
} }
@ -133,7 +133,7 @@ func ReadProcedures() ([]*Procedure, error) {
} }
p.Body = mdmd.body p.Body = mdmd.body
p.FullPath = f.FullPath p.FullPath = f.FullPath
p.ModifiedAt = f.ModTime() p.ModifiedAt = f.Info.ModTime()
procedures = append(procedures, p) procedures = append(procedures, p)
} }
@ -158,7 +158,7 @@ func ReadPolicies() ([]*Document, error) {
} }
p.Body = mdmd.body p.Body = mdmd.body
p.FullPath = f.FullPath p.FullPath = f.FullPath
p.ModifiedAt = f.ModTime() p.ModifiedAt = f.Info.ModTime()
p.OutputFilename = fmt.Sprintf("%s-%s.pdf", config.Config().FilePrefix, p.Acronym) p.OutputFilename = fmt.Sprintf("%s-%s.pdf", config.Config().FilePrefix, p.Acronym)
policies = append(policies, p) policies = append(policies, p)
} }