mirror of
https://github.com/strongdm/comply
synced 2025-12-06 06:14:09 +00:00
Merge branch 'master' of https://github.com/camposer/comply into fix/infinite-build
Conflicts: fixtures/narratives/invalid-control.md fixtures/policies/invalid-access.md internal/model/fs.go internal/model/fs_test.go
This commit is contained in:
@@ -83,7 +83,6 @@ func ReadStandards() ([]*Standard, error) {
|
||||
return nil, errors.Wrap(err, "unable to read "+f.FullPath)
|
||||
}
|
||||
|
||||
yaml.Unmarshal(sBytes, &s)
|
||||
err = yaml.Unmarshal(sBytes, &s)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "unable to parse "+f.FullPath)
|
||||
@@ -127,6 +126,7 @@ func ReadNarratives() ([]*Document, error) {
|
||||
func ReadProcedures() ([]*Procedure, error) {
|
||||
var procedures []*Procedure
|
||||
files, err := path.Procedures()
|
||||
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "unable to enumerate paths")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user