Skip to content

Commit

Permalink
enhancement: added new path for code in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
mahendraintelops committed Apr 2, 2024
1 parent 26395b1 commit f350ba5
Show file tree
Hide file tree
Showing 6,361 changed files with 1,954,910 additions and 4 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion internal/integrations/deepsource/copier.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func NewCopier(project *core.Project) (*Copier, error) {
"GitPlatformUserName": project.GitPlatformUserName,
}

templatesRootPath, err := utils.GetTemplatesRootPath("common-templates", project.Version)
templatesRootPath, err := utils.GetTemplatesRootPath("common-templates/code", project.Version)
if err != nil {
log.Errorf("error while getting the project root path [" + err.Error() + "]")
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion internal/integrations/license/copier.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func NewCopier(project *core.Project) (*Copier, error) {
"GitPlatformUserName": project.GitPlatformUserName,
}

templatesRootPath, err := utils.GetTemplatesRootPath("common-templates", project.Version)
templatesRootPath, err := utils.GetTemplatesRootPath("common-templates/code", project.Version)
if err != nil {
log.Errorf("error while getting the project root path [" + err.Error() + "]")
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion internal/integrations/readme/copier.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func NewCopier(project *core.Project) (*Copier, error) {
"GitPlatformUserName": project.GitPlatformUserName,
}

templatesRootPath, err := utils.GetTemplatesRootPath("common-templates", project.Version)
templatesRootPath, err := utils.GetTemplatesRootPath("common-templates/code", project.Version)
if err != nil {
log.Errorf("error while getting the project root path [" + err.Error() + "]")
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion internal/languages/golang/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

// TemplateDirectoryName directory of template files
const TemplateDirectoryName = "compage-template-go"
const TemplateDirectoryName = "compage-template-go/code"
const GoGinServerFramework = "go-gin-server"
const GoGrpcServerFramework = "go-grpc-server"
const CommonFiles = "common-files"
Expand Down
202 changes: 202 additions & 0 deletions vendor/cloud.google.com/go/compute/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions vendor/cloud.google.com/go/compute/internal/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions vendor/cloud.google.com/go/compute/metadata/CHANGES.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f350ba5

Please sign in to comment.