File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 22 "name" : " vscode-emacs-tab" ,
33 "displayName" : " vscode-emacs-tab" ,
44 "description" : " emacs like tab behavior" ,
5- "version" : " 0.1.0 " ,
5+ "version" : " 0.1.1 " ,
66 "publisher" : " garaemon" ,
77 "repository" : {
88 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -345,7 +345,9 @@ function getLanguageConfiguration(id: string): ILanguageConfiguration | null {
345345 ext . packageJSON . contributes . languages ) {
346346 const packageLangData = ext . packageJSON . contributes . languages . find (
347347 ( langData : any ) => ( langData . id === documentLanguageId ) ) ;
348- if ( packageLangData ) {
348+ // packageLangData.configuration can be undefined. For example, configuration of the ROS
349+ // extension is undefined.
350+ if ( packageLangData && packageLangData . configuration ) {
349351 const langConfigFilepath =
350352 path . join ( ext . extensionPath , packageLangData . configuration ) ;
351353 const configFileContent = fs . readFileSync ( langConfigFilepath ) . toString ( ) ;
You can’t perform that action at this time.
0 commit comments