mirror of
https://github.com/turbot/steampipe.git
synced 2026-04-13 13:00:05 -04:00
Resource references in depdency mods must be fully qualified. Locals in dependency mods cannot be referenced. Support transitive dependencies referencing variables from different versions of same mod. Closes #3335. Closes #3336. Closes #3337
This commit is contained in:
@@ -57,8 +57,8 @@ func NewInitData(ctx context.Context) *InitData {
|
||||
return i
|
||||
}
|
||||
|
||||
if len(w.GetResourceMaps().Controls) == 0 {
|
||||
i.Result.AddWarnings("no controls found in current workspace")
|
||||
if len(w.GetResourceMaps().Controls)+len(w.GetResourceMaps().Benchmarks) == 0 {
|
||||
i.Result.AddWarnings("no controls or benchmarks found in current workspace")
|
||||
}
|
||||
|
||||
if err := controldisplay.EnsureTemplates(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user