From fd3e7aa56c0a432187b55b442eb0760732bfe7b9 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Tue, 9 Nov 2021 20:03:50 -0800 Subject: [PATCH] diff-props: Fix build key pattern --- src/commands/diff-props.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/diff-props.ts b/src/commands/diff-props.ts index e7ae3bf..e0a199c 100644 --- a/src/commands/diff-props.ts +++ b/src/commands/diff-props.ts @@ -3,7 +3,7 @@ import * as chalk from 'chalk' import { diffPartitionProps, loadPartitionProps, PartitionProps } from '../blobs/props' -const BUILD_KEY_PATTERN = /^ro(?:system_ext|product|vendor)?\.build\./ +const BUILD_KEY_PATTERN = /^ro(?:\.(?:system|system_ext|product|vendor))?\.build\..+$/ function removeBuildProps(partProps: PartitionProps) { for (let props of partProps.values()) {