diff-props: Fix build key pattern

This commit is contained in:
Danny Lin 2021-11-09 20:03:50 -08:00
parent ae4c7baf6b
commit fd3e7aa56c

View file

@ -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()) {