File tree Expand file tree Collapse file tree
vscode/extension/src/utilities/sqlmesh Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,9 +29,11 @@ export interface SqlmeshExecInfo {
2929export const isTcloudProject = async ( ) : Promise < Result < boolean , string > > => {
3030 const projectRoot = await getProjectRoot ( )
3131 const tcloudYamlPath = path . join ( projectRoot . uri . fsPath , 'tcloud.yaml' )
32+ const tcloudYmlPath = path . join ( projectRoot . uri . fsPath , 'tcloud.yml' )
3233 const isTcloudYamlFilePresent = fs . existsSync ( tcloudYamlPath )
33- if ( isTcloudYamlFilePresent ) {
34- traceVerbose ( `tcloud yaml file present at : ${ tcloudYamlPath } ` )
34+ const isTcloudYmlFilePresent = fs . existsSync ( tcloudYmlPath )
35+ if ( isTcloudYamlFilePresent || isTcloudYmlFilePresent ) {
36+ traceVerbose ( `tcloud yaml or yml file present at : ${ tcloudYamlPath } ` )
3537 return ok ( true )
3638 }
3739 const isTcloudInstalled = await isPythonModuleInstalled ( 'tcloud' )
You can’t perform that action at this time.
0 commit comments