Skip to content

Commit

Permalink
feat(list): show model, then ID if no name
Browse files Browse the repository at this point in the history
imhoffd committed Sep 28, 2020

Unverified

No user is associated with the committer email.
1 parent aa6688d commit d56415d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/list.ts
Original file line number Diff line number Diff line change
@@ -90,7 +90,7 @@ function formatTargetTable(targets: readonly Target[]): string {

function targetToRow(target: Target): string[] {
return [
target.name ?? '?',
target.name ?? target.model ?? target.id ?? '?',
`${target.platform === 'ios' ? 'iOS' : 'API'} ${target.sdkVersion}`,
target.id ?? '?',
];

0 comments on commit d56415d

Please sign in to comment.