@@ -224,9 +224,7 @@ async function handleRemovePetMessage(
224
224
return new PetQuickPickItem ( val . name , val . type , val . color ) ;
225
225
} ) ,
226
226
{
227
- placeHolder : vscode . l10n . t (
228
- 'Select the pet to remove.' ,
229
- ) ,
227
+ placeHolder : vscode . l10n . t ( 'Select the pet to remove.' ) ,
230
228
} ,
231
229
)
232
230
. then ( ( pet : PetQuickPickItem | undefined ) => {
@@ -402,9 +400,7 @@ export function activate(context: vscode.ExtensionContext) {
402
400
const selectedPetType = await vscode . window . showQuickPick (
403
401
localize . stringListAsQuickPickItemList < PetType > ( ALL_PETS ) ,
404
402
{
405
- placeHolder : vscode . l10n . t (
406
- 'Select a pet' ,
407
- ) ,
403
+ placeHolder : vscode . l10n . t ( 'Select a pet' ) ,
408
404
} ,
409
405
) ;
410
406
if ( selectedPetType === undefined ) {
@@ -434,9 +430,7 @@ export function activate(context: vscode.ExtensionContext) {
434
430
choices ,
435
431
) ,
436
432
{
437
- placeHolder : vscode . l10n . t (
438
- 'Select a color' ,
439
- ) ,
433
+ placeHolder : vscode . l10n . t ( 'Select a color' ) ,
440
434
} ,
441
435
) ;
442
436
if ( selectedColor === undefined ) {
@@ -456,9 +450,7 @@ export function activate(context: vscode.ExtensionContext) {
456
450
choices ,
457
451
) ,
458
452
{
459
- placeHolder : vscode . l10n . t (
460
- 'Select a color' ,
461
- ) ,
453
+ placeHolder : vscode . l10n . t ( 'Select a color' ) ,
462
454
} ,
463
455
) ;
464
456
if ( selectedColor === undefined ) {
@@ -478,9 +470,7 @@ export function activate(context: vscode.ExtensionContext) {
478
470
choices ,
479
471
) ,
480
472
{
481
- placeHolder : vscode . l10n . t (
482
- 'Select a color' ,
483
- ) ,
473
+ placeHolder : vscode . l10n . t ( 'Select a color' ) ,
484
474
} ,
485
475
) ;
486
476
if ( selectedColor === undefined ) {
@@ -507,9 +497,7 @@ export function activate(context: vscode.ExtensionContext) {
507
497
}
508
498
509
499
const name = await vscode . window . showInputBox ( {
510
- placeHolder : vscode . l10n . t (
511
- 'Leave blank for a random name' ,
512
- ) ,
500
+ placeHolder : vscode . l10n . t ( 'Leave blank for a random name' ) ,
513
501
prompt : vscode . l10n . t ( 'Name your pet' ) ,
514
502
value : randomName ( selectedPetType . value ) ,
515
503
} ) ;
@@ -521,9 +509,7 @@ export function activate(context: vscode.ExtensionContext) {
521
509
) ;
522
510
if ( ! spec . type || ! spec . color || ! spec . size ) {
523
511
return vscode . window . showWarningMessage (
524
- vscode . l10n . t (
525
- 'Cancelled Spawning Pet' ,
526
- ) ,
512
+ vscode . l10n . t ( 'Cancelled Spawning Pet' ) ,
527
513
) ;
528
514
} else if ( spec ) {
529
515
panel . spawnPet ( spec ) ;
@@ -1121,8 +1107,10 @@ class PetWebviewViewProvider extends PetWebviewContainer {
1121
1107
1122
1108
getWebview ( ) : vscode . Webview {
1123
1109
if ( this . _webviewView === undefined ) {
1124
- throw new Error ( vscode . l10n . t (
1125
- 'Panel not active, make sure the pets view is visible before running this command.' ) ,
1110
+ throw new Error (
1111
+ vscode . l10n . t (
1112
+ 'Panel not active, make sure the pets view is visible before running this command.' ,
1113
+ ) ,
1126
1114
) ;
1127
1115
} else {
1128
1116
return this . _webviewView . webview ;
0 commit comments