Skip to content

Commit fb901f2

Browse files
committed
Update regexp ref
1 parent c13608a commit fb901f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree/ContainerAppItem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class ContainerAppItem implements ContainerAppsItem, RevisionsDraftModel
112112
static isContainerAppItem(item: unknown): item is ContainerAppItem {
113113
return typeof item === 'object' &&
114114
typeof (item as ContainerAppItem).contextValue === 'string' &&
115-
/containerAppItem/i.test((item as ContainerAppItem).contextValue);
115+
ContainerAppItem.contextValueRegExp.test((item as ContainerAppItem).contextValue);
116116
}
117117

118118
static async List(context: IActionContext, subscription: AzureSubscription, managedEnvironmentId: string): Promise<ContainerAppModel[]> {

0 commit comments

Comments
 (0)