Skip to content

Commit

Permalink
bug: addressing some issues with expanded_control see #70
Browse files Browse the repository at this point in the history
  • Loading branch information
xntrik committed Nov 16, 2022
1 parent 8ee3994 commit ed032b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/spec/dashboard-templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ Impacted Information Assets:
#### Controls
{{ range .Controls }}##### {{ .Name }}
{{ range .Controls }}
##### {{ .Name }}
{{ if .Implemented }}
> Implemented: ✅ {{- else }}> Implemented: ❌ {{- end }}
Expand Down
2 changes: 1 addition & 1 deletion pkg/spec/parser_threatmodel.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func fetchRemoteTm(cfg *ThreatmodelSpecConfig, source, currentFilename string) (
}

includePath := fmt.Sprintf("%s/%s", tmpDir, filepath.Base(source))
importDiag := returnParser.ParseHCLFile(includePath, true)
importDiag := returnParser.ParseHCLFile(includePath, false)

if importDiag != nil {
return nil, importDiag
Expand Down

0 comments on commit ed032b9

Please sign in to comment.