Skip to content

Commit bbcd8b3

Browse files
committed
Normalize emoji width
1 parent 9448e27 commit bbcd8b3

2 files changed

Lines changed: 61 additions & 66 deletions

File tree

libraries/rush-lib/src/logic/operations/OperationStatus.ts

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,19 @@ export enum OperationStatus {
5757
* @alpha
5858
*/
5959
export const STATUS_EMOJIS: Record<OperationStatus, string> = {
60-
// Most important statuses to report
61-
[OperationStatus.Failure]: '❌',
62-
[OperationStatus.SuccessWithWarning]: '⚠️\u2009',
60+
[OperationStatus.Failure]: '❌\ufe0f',
61+
[OperationStatus.SuccessWithWarning]: '⚡\ufe0f',
6362

64-
// Use an emoji that indicates that the operation is currently executing
6563
[OperationStatus.Executing]: '🔄',
6664

67-
// Use an emoji that indicates that the operations are yet to execute
68-
[OperationStatus.Waiting]: '⏳',
69-
[OperationStatus.Queued]: '⏳',
70-
[OperationStatus.Ready]: '⏳',
65+
[OperationStatus.Waiting]: '⏳\ufe0f',
66+
[OperationStatus.Queued]: '⏳\ufe0f',
67+
[OperationStatus.Ready]: '⏳\ufe0f',
7168

7269
[OperationStatus.Blocked]: '🚧',
7370

74-
// Use an emoji that indicates that the operation has completed successfully
75-
[OperationStatus.Success]: '✅\u200b',
71+
[OperationStatus.Success]: '✅\ufe0f',
7672

77-
// Use an emoji that indicates that the operation output was reused
7873
[OperationStatus.FromCache]: '📦',
7974
[OperationStatus.Skipped]: '📦',
8075
[OperationStatus.NoOp]: ''

0 commit comments

Comments
 (0)