diff --git a/src/services/project/project.go b/src/services/project/project.go index ee21a1e..ff17a5d 100644 --- a/src/services/project/project.go +++ b/src/services/project/project.go @@ -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: