Skip to content

Commit 6df62b2

Browse files
committed
add harmony to supported types in fingerprint
1 parent da16c3a commit 6df62b2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/cli/src/lib/plugins/fingerprint.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function redactSensitiveSources(sources: FingerprintInputHash[]) {
3333
}
3434

3535
type NativeFingerprintCommandOptions = {
36-
platform: 'ios' | 'android';
36+
platform: 'ios' | 'android' | 'harmony';
3737
raw?: boolean;
3838
};
3939

@@ -44,7 +44,12 @@ export async function nativeFingerprintCommand(
4444
) {
4545
validateOptions(options);
4646
const platform = options.platform;
47-
const readablePlatformName = platform === 'ios' ? 'iOS' : 'Android';
47+
const readablePlatformName =
48+
platform === 'ios'
49+
? 'iOS'
50+
: platform === 'android'
51+
? 'Android'
52+
: 'HarmonyOS';
4853

4954
if (options.raw || !isInteractive()) {
5055
const fingerprint = await nativeFingerprint(path, {

0 commit comments

Comments
 (0)