File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed
internal/pkg/create/param
staging/dtm-pipeline-templates/github-actions/workflows Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ var createCMD = &cobra.Command{
1717
1818func createCMDFunc (cmd * cobra.Command , args []string ) {
1919 err := create .Create ()
20- if err .Error () != "^C" {
20+ if err != nil && err .Error () != "^C" {
2121 fmt .Printf ("Failed with error: %s" , err )
2222 }
2323}
Original file line number Diff line number Diff line change @@ -8,12 +8,6 @@ func ListRepoScaffolding() []RepoScaffolding {
88 Framework : "Gin" ,
99 Description : "This is a scaffolding for Golang web app based on Gin framework" ,
1010 },
11- {Name : "dtm-repo-scaffolding-golang-cli" ,
12- URL : "https://github.com/devstream-io/dtm-repo-scaffolding-golang-cli" ,
13- Language : "Golang" ,
14- Framework : "Cobra" ,
15- Description : "This is a scaffolding for Golang CLI app based on Cobra framework" ,
16- },
1711 {Name : "dtm-repo-scaffolding-python-flask" ,
1812 URL : "https://github.com/devstream-io/dtm-repo-scaffolding-python-flask" ,
1913 Language : "Python" ,
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ jobs:
4848 uses : actions/setup-[[ .language.name ]]@v3
4949 with :
5050 [[ .language.name ]]-version : [[ .language.version ]]
51- [[- if eq .language.name "java" - ]]
51+ [[ if eq .language.name "java" ]]
5252 cache : maven
5353 distribution : adopt
54- [[- end ]]
54+ [[ end ]]
5555 - name : Test
5656 run : |
5757 [[ range .test.command ]]
You can’t perform that action at this time.
0 commit comments