@@ -661,12 +661,12 @@ export class BiDiagramRpcManager implements BIDiagramAPI {
661661 }
662662
663663
664- // Function to open config toml
664+ // Function to open Config. toml
665665 async openConfigToml ( params : OpenConfigTomlRequest ) : Promise < void > {
666666 return new Promise ( async ( resolve ) => {
667667 const currentProject : BallerinaProject | undefined = await getCurrentBIProject ( params . filePath ) ;
668668
669- const configFilePath = path . join ( StateMachine . context ( ) . projectUri , "config .toml" ) ;
669+ const configFilePath = path . join ( StateMachine . context ( ) . projectUri , "Config .toml" ) ;
670670 const ignoreFile = path . join ( StateMachine . context ( ) . projectUri , ".gitignore" ) ;
671671 const docLink = "https://ballerina.io/learn/provide-values-to-configurable-variables/#provide-via-toml-syntax" ;
672672 const uri = Uri . file ( configFilePath ) ;
@@ -694,8 +694,8 @@ export class BiDiagramRpcManager implements BIDiagramAPI {
694694 if ( fs . existsSync ( ignoreFile ) ) {
695695 const ignoreUri = Uri . file ( ignoreFile ) ;
696696 let ignoreContent : string = fs . readFileSync ( ignoreUri . fsPath , 'utf8' ) ;
697- if ( ! ignoreContent . includes ( "config .toml" ) ) {
698- ignoreContent += `\n${ "config .toml" } \n` ;
697+ if ( ! ignoreContent . includes ( "Config .toml" ) ) {
698+ ignoreContent += `\n${ "Config .toml" } \n` ;
699699 fs . writeFile ( ignoreUri . fsPath , ignoreContent , function ( error ) {
700700 if ( error ) {
701701 return window . showErrorMessage ( 'Unable to update the .gitIgnore file: ' + error ) ;
0 commit comments