Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Jul 8, 2024
1 parent 1635595 commit 0eb787e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ fun DowngradeFlags.toFlags(): Flags {
flags.logLevel = Logger.Level.valueOf(logLevel.getOrElse("INFO").uppercase())
flags.printDebug = debug.getOrElse(false)
flags.classVersion = downgradeTo.getOrElse(JavaVersion.VERSION_1_8).toOpcode()
flags.debugSkipStubs = debugSkipStubs.getOrElse(emptyList()).map { it.toOpcode() }.toSet()
flags.debugSkipStubs = debugSkipStubs.getOrElse(emptySet()).map { it.toOpcode() }.toSet()
ignoreWarningsIn.getOrElse(emptyList()).forEach { flags.addIgnore(it) }
flags.debugDumpClasses = debugDumpClasses.getOrElse(false)
return flags
Expand Down

0 comments on commit 0eb787e

Please sign in to comment.