Skip to content

Commit

Permalink
fix: requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pehesi97 committed Oct 16, 2023
1 parent 09896e2 commit 88c6cc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ func (proj *Project) detectType() (ProjectType, error) {

func (proj *Project) matchType() (ProjectType, error) {
switch proj.Type {
case "node":
case NodeProject:
proj.DefaultRuntimeVersion = defaults.DefaultNodeRuntimeVersion
return NodeProject, nil
case "go":
case GoProject:
proj.DefaultRuntimeVersion = defaults.DefaultGoRuntimeVersion
return GoProject, nil
default:
Expand Down

0 comments on commit 88c6cc7

Please sign in to comment.