File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,19 @@ export class Container {
79
79
private static _assignedWorkItemsView : AssignedWorkItemsViewProvider ;
80
80
81
81
static async initialize ( context : ExtensionContext , version : string ) {
82
- canFetchInternalUrl ( ) . then ( ( success ) => {
83
- this . _isInternalUser = success ;
84
- this . _isRovoDevEnabled = success ;
85
-
86
- if ( success ) {
87
- this . enableRovoDev ( context ) ;
88
- }
89
- } ) ;
82
+ if ( process . env . ROVODEV_BBY ) {
83
+ this . _isRovoDevEnabled = true ;
84
+ this . enableRovoDev ( context ) ;
85
+ } else {
86
+ canFetchInternalUrl ( ) . then ( ( success ) => {
87
+ this . _isInternalUser = success ;
88
+ this . _isRovoDevEnabled = success ;
89
+
90
+ if ( success ) {
91
+ this . enableRovoDev ( context ) ;
92
+ }
93
+ } ) ;
94
+ }
90
95
91
96
const analyticsEnv : string = this . isDebugging ? 'staging' : 'prod' ;
92
97
You can’t perform that action at this time.
0 commit comments