File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import semver = require("semver");
26
26
import { NodeMetaData } from "./domain" ;
27
27
import * as crypto from "crypto" ;
28
28
import { parse } from "yaml" ;
29
- import { window } from "vscode" ;
30
29
31
30
export function getDBTPath (
32
31
pythonEnvironment : PythonEnvironment ,
@@ -71,23 +70,6 @@ export class DBTCloudDetection implements DBTDetection {
71
70
throw new Error ( stderr ) ;
72
71
}
73
72
if ( stdout . includes ( "dbt Cloud CLI" ) ) {
74
- const regex = / d b t C l o u d C L I - ( \d * \. \d * \. \d * ) / gm;
75
- const matches = regex . exec ( stdout ) ;
76
- if ( matches ?. length === 2 ) {
77
- const minVersion = "0.37.6" ;
78
- const currentVersion = matches [ 1 ] ;
79
- if ( semver . lt ( currentVersion , minVersion ) ) {
80
- window . showErrorMessage (
81
- `This version of dbt Cloud is not supported. Please update to a dbt Cloud CLI version higher than ${ minVersion } ` ,
82
- ) ;
83
- this . terminal . debug (
84
- "DBTCLIDetectionFailed" ,
85
- "dbt cloud cli was found but version is not supported. Detection command returned : " +
86
- stdout ,
87
- ) ;
88
- return true ;
89
- }
90
- }
91
73
this . terminal . debug ( "DBTCLIDetectionSuccess" , "dbt cloud cli detected" ) ;
92
74
return true ;
93
75
} else {
You can’t perform that action at this time.
0 commit comments