Skip to content

Commit

Permalink
chore: removing go code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pehesi97 committed Sep 8, 2023
1 parent 4a1148b commit 451781b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/services/project/project_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@ func TestDetectType(t *testing.T) {
test_proj_type := Project{Name: string(project_type),
Directory: path.Join(root, props["directory"])}

var proj_type ProjectType
var err error
if test_proj_type.Language == "auto" {
proj_type, err = test_proj_type.detectType()
} else {
proj_type, err = test_proj_type.matchType()
}
proj_type, err := test_proj_type.detectType()

// if we cannot autodetect a project we will return an error
if project_type == "invalid" && err != nil {
Expand Down

0 comments on commit 451781b

Please sign in to comment.