Skip to content

Commit ccfea9f

Browse files
committed
chore: run prettier
1 parent 08c9d82 commit ccfea9f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/lib/utils/skin.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,15 @@ export function renderClickableRank(info: ItemInfo): TemplateResult<1> {
105105
}
106106

107107
export function isSellableOnCSFloat(asset: rgAsset): boolean {
108-
return isSkin(asset) || isCharm(asset) || isAgent(asset) || isSticker(asset) || isPin(asset) || isPatch(asset) || isCase(asset);
108+
return (
109+
isSkin(asset) ||
110+
isCharm(asset) ||
111+
isAgent(asset) ||
112+
isSticker(asset) ||
113+
isPin(asset) ||
114+
isPatch(asset) ||
115+
isCase(asset)
116+
);
109117
}
110118

111119
export function isSkin(asset: rgAsset): boolean {
@@ -144,15 +152,14 @@ function isAbstractType(asset: rgAsset, type: string, internalName: string): boo
144152
if (asset.type.endsWith(type)) {
145153
return true;
146154
}
147-
155+
148156
if (!asset.tags) {
149157
return false;
150158
}
151159

152160
return asset.tags.some((e) => e.category === 'Type' && e.internal_name === internalName);
153161
}
154162

155-
156163
export function getFadeCalculatorAndSupportedWeapon(
157164
asset: rgAsset
158165
): [typeof FadeCalculator | typeof AcidFadeCalculator | typeof AmberFadeCalculator, string] | undefined {

0 commit comments

Comments
 (0)