Skip to content

Commit 64c0bd4

Browse files
fix: added new path
1 parent dc944b7 commit 64c0bd4

File tree

12 files changed

+29
-11
lines changed

12 files changed

+29
-11
lines changed

internal/integrations/deepsource/copier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func NewCopier(project *core.Project) (*Copier, error) {
2626
"GitPlatformUserName": project.GitPlatformUserName,
2727
}
2828

29-
templatesRootPath, err := utils.GetTemplatesRootPath("common-templates/code", project.Version)
29+
templatesRootPath, err := utils.GetTemplatesRootPath("common-templates", project.Version)
3030
if err != nil {
3131
log.Errorf("error while getting the project root path [" + err.Error() + "]")
3232
return nil, err

internal/integrations/license/copier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func NewCopier(project *core.Project) (*Copier, error) {
2626
"GitPlatformUserName": project.GitPlatformUserName,
2727
}
2828

29-
templatesRootPath, err := utils.GetTemplatesRootPath("common-templates/code", project.Version)
29+
templatesRootPath, err := utils.GetTemplatesRootPath("common-templates", project.Version)
3030
if err != nil {
3131
log.Errorf("error while getting the project root path [" + err.Error() + "]")
3232
return nil, err

internal/integrations/readme/copier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func NewCopier(project *core.Project) (*Copier, error) {
2626
"GitPlatformUserName": project.GitPlatformUserName,
2727
}
2828

29-
templatesRootPath, err := utils.GetTemplatesRootPath("common-templates/code", project.Version)
29+
templatesRootPath, err := utils.GetTemplatesRootPath("common-templates", project.Version)
3030
if err != nil {
3131
log.Errorf("error while getting the project root path [" + err.Error() + "]")
3232
return nil, err

internal/languages/golang/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// TemplateDirectoryName directory of template files
10-
const TemplateDirectoryName = "compage-template-go/code"
10+
const TemplateDirectoryName = "compage-template-go"
1111
const GoGinServerFramework = "go-gin-server"
1212
const GoGrpcServerFramework = "go-grpc-server"
1313
const CommonFiles = "common-files"

internal/languages/java/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// TemplateDirectoryName directory of template files
10-
const TemplateDirectoryName = "compage-template-java/code"
10+
const TemplateDirectoryName = "compage-template-java"
1111

1212
var LJavaPlayFramework = "java-play-framework"
1313
var LJavaMicronautServer = "java-micronaut-server"

internal/languages/javascript/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// TemplateDirectoryName directory of template files
10-
const TemplateDirectoryName = "compage-template-javascript/code"
10+
const TemplateDirectoryName = "compage-template-javascript"
1111

1212
// LJavaScriptNode language specific struct.
1313
type LJavaScriptNode struct {

internal/languages/python/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// TemplateDirectoryName directory of template files
10-
const TemplateDirectoryName = "compage-template-python/code"
10+
const TemplateDirectoryName = "compage-template-python"
1111

1212
// LPythonNode language specific struct.
1313
type LPythonNode struct {

internal/languages/ruby/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// TemplateDirectoryName directory of template files
10-
const TemplateDirectoryName = "compage-template-ruby/code"
10+
const TemplateDirectoryName = "compage-template-ruby"
1111

1212
// LRubyNode language specific struct.
1313
type LRubyNode struct {

internal/languages/rust/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// TemplateDirectoryName directory of template files
10-
const TemplateDirectoryName = "compage-template-rust/code"
10+
const TemplateDirectoryName = "compage-template-rust"
1111

1212
// LRustNode language specific struct.
1313
type LRustNode struct {

internal/languages/typescript/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// TemplateDirectoryName directory of template files
10-
const TemplateDirectoryName = "compage-template-typescript/code"
10+
const TemplateDirectoryName = "compage-template-typescript"
1111

1212
// LTypeScriptNode language specific struct.
1313
type LTypeScriptNode struct {

0 commit comments

Comments
 (0)