File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import flattenDeep from 'lodash/flattenDeep'
22import { registerAction } from 'utils/actions'
33import settings from 'settings'
44import is from 'utils/is'
5- import { capitalize } from 'lodash'
65import { action , when } from 'mobx'
76import api from 'backendAPI'
87import config from 'config'
@@ -70,8 +69,8 @@ const setLanguageSetting = (data) => {
7069 showModal ( { type : 'ProjectTypeSelector' , position : 'center' , data } )
7170 } else if ( data . length === 1 ) {
7271 const { type, srcPath } = data [ 0 ]
73- config . mainLanguage = capitalize ( type )
74- settings . languageserver . projectType . value = capitalize ( type )
72+ config . mainLanguage = type
73+ settings . languageserver . projectType . value = type
7574 settings . languageserver . sourcePath . value = srcPath
7675 }
7776}
You can’t perform that action at this time.
0 commit comments