Skip to content

Commit

Permalink
Backend: Detekt Fixes Part 7 (#2667)
Browse files Browse the repository at this point in the history
Co-authored-by: hannibal2 <[email protected]>
  • Loading branch information
DavidArthurCole and hannibal002 authored Oct 13, 2024
1 parent 113389a commit e0ae2e8
Show file tree
Hide file tree
Showing 81 changed files with 271 additions and 91 deletions.
13 changes: 11 additions & 2 deletions src/main/java/at/hannibal2/skyhanni/api/SkillAPI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,14 @@ object SkillAPI {
val nextLevelDiff = levelArray.getOrNull(level)?.toDouble() ?: 7_600_000.0
val nextLevelProgress = nextLevelDiff * xpPercentage / 100
val totalXp = levelXp + nextLevelProgress
updateSkillInfo(existingLevel, level, nextLevelProgress.toLong(), nextLevelDiff.toLong(), totalXp.toLong(), matcher.group("gained"))
updateSkillInfo(
existingLevel,
level,
nextLevelProgress.toLong(),
nextLevelDiff.toLong(),
totalXp.toLong(),
matcher.group("gained"),
)
} else {
val exactLevel = getLevelExact(needed)
val levelXp = calculateLevelXp(existingLevel.level - 1).toLong() + current
Expand Down Expand Up @@ -468,7 +475,9 @@ object SkillAPI {
val skill = storage?.get(skillType) ?: return

if (targetLevel <= skill.overflowLevel) {
ChatUtils.userError("Custom goal level ($targetLevel) must be greater than your current level (${skill.overflowLevel}).")
ChatUtils.userError(
"Custom goal level ($targetLevel) must be greater than your current level (${skill.overflowLevel})."
)
return
}

Expand Down
5 changes: 4 additions & 1 deletion src/main/java/at/hannibal2/skyhanni/config/ConfigManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ class ConfigManager {
}
if (missingConfigLink) {
println("")
println("This crash is here to remind you to fix the missing @ConfigLink annotation over your new config position config element.")
println(
"This crash is here to remind you to fix the missing " +
"@ConfigLink annotation over your new config position config element."
)
println("")
println("Steps to fix:")
println("1. Search for `WEE WOO WEE WOO` in the console output.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ object ConfigUpdaterMigrator {
}
val newParentElement = new.at(np.dropLast(1), true)
if (newParentElement !is JsonObject) {
logger.log("Catastrophic: element at path $old could not be relocated to $new, since another element already inhabits that path")
logger.log(
"Catastrophic: element at path $old could not be relocated to $new, " +
"since another element already inhabits that path"
)
return
}
movesPerformed++
Expand Down
15 changes: 9 additions & 6 deletions src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ object Commands {
callback { GhostUtil.importCTGhostCounterData() }
}
event.register("shcroptime") {
description = "Calculates with your current crop per second speed " +
"how long you need to farm a crop to collect this amount of items"
description =
"Calculates with your current crop per second speed " + "how long you need to farm a crop to collect this amount of items"
category = CommandCategory.USERS_ACTIVE
callback { GardenCropTimeCommand.onCommand(it) }
}
Expand Down Expand Up @@ -205,8 +205,9 @@ object Commands {
callback { FarmingWeightDisplay.lookUpCommand(it) }
}
event.register("shcopytranslation") {
description = "Copy the translation of a message in another language to your clipboard.\n" +
"Uses a language code that can be found at the end of a translation message."
description =
"Copy the translation of a message in another language to your clipboard.\n" +
"Uses a 2 letter language code that can be found at the end of a translation message."
category = CommandCategory.USERS_ACTIVE
callback { Translator.fromNativeLanguage(it) }
}
Expand Down Expand Up @@ -585,7 +586,8 @@ object Commands {
callback { ItemPriceUtils.debugItemPrice(it) }
}
event.register("shdebugscoreboard") {
description = "Monitors the scoreboard changes: " +
description =
"Monitors the scoreboard changes: " +
"Prints the raw scoreboard lines in the console after each update, with time since last update."
category = CommandCategory.DEVELOPER_DEBUG
callback { ScoreboardData.toggleMonitor() }
Expand Down Expand Up @@ -740,7 +742,8 @@ object Commands {
callback { TitleManager.command(it) }
}
event.register("shresetconfig") {
description = "Reloads the config manager and rendering processors of MoulConfig. " +
description =
"Reloads the config manager and rendering processors of MoulConfig. " +
"This §cWILL RESET §7your config, but also updating the java config files " +
"(names, description, orderings and stuff)."
category = CommandCategory.DEVELOPER_TEST
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/at/hannibal2/skyhanni/data/BitsAPI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ object BitsAPI {

private val bitsFromFameRankUpChatPattern by bitsChatGroup.pattern(
"rankup.bits",
"§eYou gained §3(?<amount>.*) Bits Available §ecompounded from all your §epreviously eaten §6cookies§e! Click here to open §6cookie menu§e!",
"§eYou gained §3(?<amount>.*) Bits Available §ecompounded from all your " +
"§epreviously eaten §6cookies§e! Click here to open §6cookie menu§e!",
)

private val fameRankUpPattern by bitsChatGroup.pattern(
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ object ChatManager {
private val loggerFilteredTypes = mutableMapOf<String, LorenzLogger>()
private val messageHistory =
object : LinkedHashMap<IdentityCharacteristics<IChatComponent>, MessageFilteringResult>() {
override fun removeEldestEntry(eldest: MutableMap.MutableEntry<IdentityCharacteristics<IChatComponent>, MessageFilteringResult>?): Boolean {
override fun removeEldestEntry(
eldest: MutableMap.MutableEntry<IdentityCharacteristics<IChatComponent>, MessageFilteringResult>?,
): Boolean {
return size > 100
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ object SackAPI {
"sack",
"^(.* Sack|Enchanted .* Sack)\$",
)
@Suppress("MaxLineLength")
private val numPattern by patternGroup.pattern(
"number",
"(?:(?:§[0-9a-f](?<level>I{1,3})§7:)?|(?:§7Stored:)?) (?<color>§[0-9a-f])(?<stored>[0-9.,kKmMbB]+)§7/(?<total>\\d+(?:[0-9.,]+)?[kKmMbB]?)",
)
@Suppress("MaxLineLength")
private val gemstonePattern by patternGroup.pattern(
"gemstone",
" §[0-9a-f](?<gemrarity>[A-z]*): §[0-9a-f](?<stored>\\d+(?:\\.\\d+)?(?:(?:,\\d+)?)+[kKmM]?)(?: §[0-9a-f]\\(\\d+(?:\\.\\d+)?(?:(?:,\\d+)?)+[kKmM]?\\))?",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ object PlayerChatManager {
* REGEX-TEST: §b[MVP§c+§b] hannibal2§f§7 has §8[§6Heroic Aspect of the Void§8]
* REGEX-TEST: §8[§b209§8] §b[MVP§d+§b] lrg89§f§7 is holding §8[§5Heroic Aspect of the Void§8]
*/
@Suppress("MaxLineLength")
private val itemShowPattern by patternGroup.pattern(
"itemshow",
"(?:§8\\[(?<levelColor>§.)(?<level>\\d+)§8] )?(?<author>.*)§f§7 (?<action>is (?:holding|friends with a|wearing)|has) (?<itemName>.*)"
Expand Down
11 changes: 6 additions & 5 deletions src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,12 @@ object MobDetection {
is S0FPacketSpawnMob -> addEntityUpdate(packet.entityID)
is S0CPacketSpawnPlayer -> addEntityUpdate(packet.entityID)
// is S0EPacketSpawnObject -> addEntityUpdate(packet.entityID)
is S01PacketJoinGame -> // one of the first packets that is sent when switching servers inside the BungeeCord Network (please some prove this, I just found it out via Testing)
{
shouldClear.set(true)
allEntitiesViaPacketId.clear()
}
is S01PacketJoinGame -> {
// one of the first packets that is sent when switching servers inside the BungeeCord Network
// (please some prove this, I just found it out via Testing)
shouldClear.set(true)
allEntitiesViaPacketId.clear()
}
}
}

Expand Down
6 changes: 6 additions & 0 deletions src/main/java/at/hannibal2/skyhanni/data/mob/MobFilter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,20 @@ object MobFilter {
"^§8\\[§7Lv\\d+§8] §.(?<name>Horse|Armadillo|Skeleton Horse|Pig|Rat)$",
)

// TODO: Move all of these to repo
@Suppress("MaxLineLength")
internal const val RAT_SKULL =
"ewogICJ0aW1lc3RhbXAiIDogMTYxODQxOTcwMTc1MywKICAicHJvZmlsZUlkIiA6ICI3MzgyZGRmYmU0ODU0NTVjODI1ZjkwMGY4OGZkMzJmOCIsCiAgInByb2ZpbGVOYW1lIiA6ICJCdUlJZXQiLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYThhYmI0NzFkYjBhYjc4NzAzMDExOTc5ZGM4YjQwNzk4YTk0MWYzYTRkZWMzZWM2MWNiZWVjMmFmOGNmZmU4IiwKICAgICAgIm1ldGFkYXRhIiA6IHsKICAgICAgICAibW9kZWwiIDogInNsaW0iCiAgICAgIH0KICAgIH0KICB9Cn0="
@Suppress("MaxLineLength")
private const val HELLWISP_TENTACLE_SKULL =
"ewogICJ0aW1lc3RhbXAiIDogMTY0OTM4MzAyMTQxNiwKICAicHJvZmlsZUlkIiA6ICIzYjgwOTg1YWU4ODY0ZWZlYjA3ODg2MmZkOTRhMTVkOSIsCiAgInByb2ZpbGVOYW1lIiA6ICJLaWVyYW5fVmF4aWxpYW4iLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDI3MDQ2Mzg0OTM2MzhiODVjMzhkZDYzZmZkYmUyMjJmZTUzY2ZkNmE1MDk3NzI4NzU2MTE5MzdhZTViNWUyMiIsCiAgICAgICJtZXRhZGF0YSIgOiB7CiAgICAgICAgIm1vZGVsIiA6ICJzbGltIgogICAgICB9CiAgICB9CiAgfQp9"
@Suppress("MaxLineLength")
private const val RIFT_EYE_SKULL1 =
"ewogICJ0aW1lc3RhbXAiIDogMTY0ODA5MTkzNTcyMiwKICAicHJvZmlsZUlkIiA6ICJhNzdkNmQ2YmFjOWE0NzY3YTFhNzU1NjYxOTllYmY5MiIsCiAgInByb2ZpbGVOYW1lIiA6ICIwOEJFRDUiLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjI2YmRlNDUwNDljN2I3ZDM0NjA1ZDgwNmEwNjgyOWI2Zjk1NWI4NTZhNTk5MWZkMzNlN2VhYmNlNDRjMDgzNCIsCiAgICAgICJtZXRhZGF0YSIgOiB7CiAgICAgICAgIm1vZGVsIiA6ICJzbGltIgogICAgICB9CiAgICB9CiAgfQp9"
@Suppress("MaxLineLength")
private const val RIFT_EYE_SKULL2 =
"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTdkYjE5MjNkMDNjNGVmNGU5ZjZlODcyYzVhNmFkMjU3OGIxYWZmMmIyODFmYmMzZmZhNzQ2NmM4MjVmYjkifX19"
@Suppress("MaxLineLength")
internal const val NPC_TURD_SKULL =
"ewogICJ0aW1lc3RhbXAiIDogMTYzOTUxMjYxNzc5MywKICAicHJvZmlsZUlkIiA6ICIwZjczMDA3NjEyNGU0NGM3YWYxMTE1NDY5YzQ5OTY3OSIsCiAgInByb2ZpbGVOYW1lIiA6ICJPcmVfTWluZXIxMjMiLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjM2MzBkOWIwMjA4OGVhMTkyNGE4NzIyNDJhYmM3NWI2MjYyYzJhY2E5MmFlY2Y4NzE0YTU3YTQxZWVhMGI5ZCIKICAgIH0KICB9Cn0="

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ enum class GraphNodeTag(
AREA("area", LorenzColor.DARK_GREEN, "Area", "A big SkyBlock area."),
SMALL_AREA("small_area", LorenzColor.GREEN, "Small Area", "A small SkyBlock area, e.g. a house."),
POI("poi", LorenzColor.WHITE, "Point of Interest", "A relevant spot or a landmark on the map."),

// LAUNCH_PAD("launch", LorenzColor.WHITE, "Launch Pad", "Slime blocks sending you to another server."),
TELEPORT("teleport", LorenzColor.BLUE, "Teleport", "A spot from/to teleport."),

Expand All @@ -42,7 +43,13 @@ enum class GraphNodeTag(

// Rift
RIFT_ENIGMA("rift_enigma", LorenzColor.DARK_PURPLE, "Enigma Soul", "Enigma Souls in the Rift.", onlyIsland = IslandType.THE_RIFT),
RIFT_BUTTONS_QUEST("rift_buttons_quest", LorenzColor.LIGHT_PURPLE, "Wooden Buttons", "A spot to hit wooden buttons for the Dreadfarm Enigma Soul.", onlyIsland = IslandType.THE_RIFT),
RIFT_BUTTONS_QUEST(
"rift_buttons_quest",
LorenzColor.LIGHT_PURPLE,
"Wooden Buttons",
"A spot to hit wooden buttons for the Dreadfarm Enigma Soul.",
onlyIsland = IslandType.THE_RIFT,
),
RIFT_EYE("rift_eye", LorenzColor.DARK_RED, "Rift Eye", "An Eye in the Rift to teleport to.", onlyIsland = IslandType.THE_RIFT),
RIFT_MONTEZUMA(
"rift_montezuma",
Expand Down
10 changes: 6 additions & 4 deletions src/main/java/at/hannibal2/skyhanni/data/model/TabWidget.kt
Original file line number Diff line number Diff line change
Expand Up @@ -423,11 +423,13 @@ enum class TabWidget(
val removeIndexes = mutableListOf<Int>()

for ((index, header) in headers) when {
PLAYER_LIST.pattern.matches(header) -> if (playerListFound) removeIndexes.add(index - removeIndexes.size) else playerListFound =
true
PLAYER_LIST.pattern.matches(header) ->
if (playerListFound) removeIndexes.add(index - removeIndexes.size)
else playerListFound = true

INFO.pattern.matches(header) -> if (infoFound) removeIndexes.add(index - removeIndexes.size) else infoFound =
true
INFO.pattern.matches(header) ->
if (infoFound) removeIndexes.add(index - removeIndexes.size)
else infoFound = true
}

return tabList.transformIf({ size > 81 }, { dropLast(size - 80) }).editCopy {
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/at/hannibal2/skyhanni/data/repo/RepoUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ object RepoUtils {
File(newFile.parent).mkdirs()
if (!isInTree(dir, newFile)) {
throw RuntimeException(
"SkyHanni detected an invalid zip file. This is a potential security risk, please report this on the SkyHanni discord."
"SkyHanni detected an invalid zip file. This is a potential security risk, " +
"please report this on the SkyHanni discord."
)
}
val fos = FileOutputStream(newFile)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ object MinionCraftHelper {
return newDisplay
}

private fun loadFromInventory(mainInventory: Array<ItemStack?>): Pair<MutableMap<String, NEUInternalName>, MutableMap<NEUInternalName, Int>> {
private fun loadFromInventory(mainInventory: Array<ItemStack?>):
Pair<MutableMap<String, NEUInternalName>, MutableMap<NEUInternalName, Int>> {
init()

val minions = mutableMapOf<String, NEUInternalName>()
Expand Down Expand Up @@ -144,7 +145,8 @@ object MinionCraftHelper {
if (ingredientInternalName == internalName) return true

val ingredientPrimitive = NEUItems.getPrimitiveMultiplier(ingredientInternalName)
if (primitiveStack.internalName == ingredientPrimitive.internalName && primitiveStack.amount < ingredientPrimitive.amount) return true
if (primitiveStack.internalName == ingredientPrimitive.internalName &&
primitiveStack.amount < ingredientPrimitive.amount) return true
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ object BingoNextStepHelper {
}
}
}
if (currentStep is PartialProgressItemsStep && currentStep.displayName == RHYS_TASK_NAME && event.message == "§e[NPC] §dRhys§f: §rThank you for the items!§r") {
if (currentStep is PartialProgressItemsStep && currentStep.displayName == RHYS_TASK_NAME &&
event.message == "§e[NPC] §dRhys§f: §rThank you for the items!§r") {
currentStep.amountHavingHidden -= 10
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ object ChatFilter {

// <editor-fold desc="Regex Patterns & Messages">
// Lobby Messages
@Suppress("MaxLineLength")
private val lobbyPatterns = listOf(
// player join
"(?: §b>§c>§a>§r §r)?.* §6(?:joined|(?:spooked|slid) into) the lobby!(?:§r §a<§c<§b<)?".toPattern(),
Expand Down Expand Up @@ -159,6 +160,7 @@ object ChatFilter {
)

// Slayer Drop
@Suppress("MaxLineLength")
private val slayerDropPatterns = listOf(
// Zombie
"§b§lRARE DROP! §r§7\\(§r§f§r§9Revenant Viscera§r§7\\) (.*)".toPattern(),
Expand Down Expand Up @@ -263,6 +265,7 @@ object ChatFilter {
)

// Annoying Spam
@Suppress("MaxLineLength")
private val annoyingSpamPatterns = listOf(
"§7Your Implosion hit (.*) for §r§c(.*) §r§7damage.".toPattern(),
"§7Your Molten Wave hit (.*) for §r§c(.*) §r§7damage.".toPattern(),
Expand Down Expand Up @@ -520,7 +523,7 @@ object ChatFilter {
* @param message The message to check
* @return The reason why the message was blocked, empty if not blocked
*/
@Suppress("CyclomaticComplexMethod")
@Suppress("CyclomaticComplexMethod", "MaxLineLength")
private fun block(message: String): String? = when {
config.hypixelHub && message.isPresent("lobby") -> "lobby"
config.empty && StringUtils.isEmpty(message) -> "empty"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ object CompactSplashPotionMessage {

private val config get() = SkyHanniMod.feature.chat.compactPotionMessages

@Suppress("MaxLineLength")
private val potionEffectPatternList = listOf(
"§a§lBUFF! §fYou were splashed by (?<playerName>.*) §fwith §r(?<effectName>.*)§r§f! Press TAB or type /effects to view your active effects!".toPattern(),
"§a§lBUFF! §fYou have gained §r(?<effectName>.*)§r§f! Press TAB or type /effects to view your active effects!".toPattern(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ object PowderMiningChatFilter {
* REGEX-TEST: §cYou need a tool with a §r§aBreaking Power §r§cof §r§66§r§c to mine Ruby Gemstone Block§r§c! Speak to §r§dFragilis §r§cby the entrance to the Crystal Hollows to learn more!
* REGEX-TEST: §cYou need a tool with a §r§aBreaking Power §r§cof §r§64§r§c to mine Mithril§r§c! Speak to §r§dFragilis §r§cby the entrance to the Crystal Hollows to learn more!
*/
@Suppress("MaxLineLength")
private val breakingPowerPattern by patternGroup.pattern(
"warning.breakingpower",
"§cYou need a tool with a §r§aBreaking Power §r§cof (?:§.)*\\d+§r§c to mine .+",
Expand Down Expand Up @@ -217,6 +218,7 @@ object PowderMiningChatFilter {
* REGEX-TEST: §r§9Electron Transmitter
* REGEX-TEST: §r§9Superlite Motor
*/
@Suppress("MaxLineLength")
private val robotPartsPattern by patternGroup.pattern(
"reward.robotparts",
"§r§9(?:FTX 3070|Synthetic Heart|Control Switch|Robotron Reflector|Electron Transmitter|Superlite Motor)( §r§8x(?<amount>[\\d,]+))?",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ object Translator {
sourceLanguage: String = "auto",
): Array<String>? {
// TODO add &dj=1 to use named json
val url = "https://translate.googleapis.com/translate_a/single?client=gtx&dt=t&sl=$sourceLanguage&tl=$targetLanguage&q=" +
URLEncoder.encode(message, "UTF-8")
val encode = URLEncoder.encode(message, "UTF-8")
val url = "https://translate.googleapis.com/translate_a/single?client=gtx&dt=t&sl=$sourceLanguage&tl=$targetLanguage&q=$encode"

var messageToSend = ""
val fullResponse = getJSONResponse(url).asJsonArray
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ object FlareDisplay {

private val MAX_FLARE_TIME = 3.minutes

// TODO: Move to repo
@Suppress("MaxLineLength")
private val flareSkins = mapOf(
"ewogICJ0aW1lc3RhbXAiIDogMTY0NjY4NzMwNjIyMywKICAicHJvZmlsZUlkIiA6ICI0MWQzYWJjMmQ3NDk0MDBjOTA5MGQ1NDM0ZDAzODMxYiIsCiAgInByb2ZpbGVOYW1lIiA6ICJNZWdha2xvb24iLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjJlMmJmNmMxZWMzMzAyNDc5MjdiYTYzNDc5ZTU4NzJhYzY2YjA2OTAzYzg2YzgyYjUyZGFjOWYxYzk3MTQ1OCIKICAgIH0KICB9Cn0="
to FlareType.WARNING,
Expand Down
Loading

0 comments on commit e0ae2e8

Please sign in to comment.