Skip to content

Commit

Permalink
bugfix: stack directory name is map key of Template.StacksConfig (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
howieyuen committed Jul 25, 2022
1 parent b9b7deb commit 3299afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scaffold/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ func RenderFSTemplate(srcFS afero.Fs, srcDir string, destFS afero.Fs, destDir st
configs[k] = v
}
// Skip if stackConfigs are not provided
stackConfigs, exits := tc.StacksConfig[fileInfo.Name()]
stackConfigs, exits := tc.StacksConfig[d.Name()]
if !exits {
continue
}
Expand Down

0 comments on commit 3299afd

Please sign in to comment.