Skip to content
Myr

cmd: Fix incorrect cmd dir

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Albert Nigmatzianov · committed by Albert Nigmatzianov · parent 7bb5276 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:cobra/cmd/project.go+1 added-1 removed
136 unmodified lines
137138 files, _ := filepath.Glob(filepath.Join(absPath, "c*"))139 for _, file := range files {140 if isCmdDir(file) {141 return file141 return filepath.Base(file)142 }143 }144145 return "cmd"
37 unmodified lines