mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +02:00
Fix lint
This commit is contained in:
@@ -104,7 +104,7 @@ module.exports = class ShipCommand extends Command {
|
|||||||
if (level === 100) return 'Soulmates';
|
if (level === 100) return 'Soulmates';
|
||||||
return '???';
|
return '???';
|
||||||
}
|
}
|
||||||
|
|
||||||
percentColor(pct) {
|
percentColor(pct) {
|
||||||
let i = 1;
|
let i = 1;
|
||||||
for (i; i < percentColors.length - 1; i++) {
|
for (i; i < percentColors.length - 1; i++) {
|
||||||
@@ -124,5 +124,5 @@ module.exports = class ShipCommand extends Command {
|
|||||||
b: Math.floor((lower.color.b * pctLower) + (upper.color.b * pctUpper)).toString(16).padStart(2, '0')
|
b: Math.floor((lower.color.b * pctLower) + (upper.color.b * pctUpper)).toString(16).padStart(2, '0')
|
||||||
};
|
};
|
||||||
return `#${color.r}${color.g}${color.b}`;
|
return `#${color.r}${color.g}${color.b}`;
|
||||||
};
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user