@@ -164,10 +164,7 @@ export default class FingerprintCompare extends EasCommand {
164
164
Log . log (
165
165
`✅ ${ capitalizeFirstLetter (
166
166
prettyPrintFingerprint ( firstFingerprint , firstFingerprintOrigin )
167
- ) } matches fingerprint from ${ prettyPrintFingerprint (
168
- secondFingerprint ,
169
- secondFingerprintOrigin
170
- ) } `
167
+ ) } matches ${ prettyPrintFingerprint ( secondFingerprint , secondFingerprintOrigin ) } `
171
168
) ;
172
169
return ;
173
170
} else {
@@ -322,7 +319,7 @@ async function getFingerprintInfoInteractiveAsync(
322
319
} else if ( originType === FingerprintOriginType . Update ) {
323
320
const selectedBranch = await selectBranchOnAppAsync ( graphqlClient , {
324
321
projectId,
325
- promptTitle : 'On which branch would you like search for an update to edit ?' ,
322
+ promptTitle : 'On which branch would you like search for an update?' ,
326
323
displayTextForListItem : updateBranch => ( {
327
324
title : updateBranch . name ,
328
325
} ) ,
@@ -744,11 +741,13 @@ function prettyPrintFingerprint(fingerprint: Fingerprint, origin: FingerprintOri
744
741
if ( origin . type === FingerprintOriginType . Project ) {
745
742
return `fingerprint ${ fingerprint . hash } from local directory` ;
746
743
} else if ( origin . type === FingerprintOriginType . Update ) {
747
- return `fingerprint ${ fingerprint . hash } from ${ origin . update ?. platform } ${ origin . type } ` ;
744
+ return `fingerprint ${ fingerprint . hash } from ${
745
+ origin . update ?. platform ? stringToAppPlatform ( origin . update ?. platform ) : ''
746
+ } ${ origin . type } `;
748
747
} else if ( origin . type === FingerprintOriginType . Build ) {
749
748
return `fingerprint ${ fingerprint . hash } from ${ origin . build ?. platform } ${ origin . type } ` ;
750
749
}
751
- return `fingerprint ${ fingerprint . hash } from hash ` ;
750
+ return `fingerprint ${ fingerprint . hash } ` ;
752
751
}
753
752
754
753
function capitalizeFirstLetter ( string : string ) : string {
0 commit comments