Skip to content

Commit 8637bee

Browse files
committed
fix for BBY
1 parent 07a07c7 commit 8637bee

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

src/container.ts

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,19 @@ export class Container {
7979
private static _assignedWorkItemsView: AssignedWorkItemsViewProvider;
8080

8181
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+
}
9095

9196
const analyticsEnv: string = this.isDebugging ? 'staging' : 'prod';
9297

0 commit comments

Comments
 (0)