Skip to content

Commit

Permalink
Change askAndMergeResults for entry in map call
Browse files Browse the repository at this point in the history
  • Loading branch information
phanlezz committed May 8, 2023
1 parent b495de4 commit 19f5b67
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,7 @@ class Ccsh : Callable<Void?> {
)

val map = mapOf(InteractiveParserHelper.MergeFilterConstants.name to mergeArguments)
var exitCode = -1
// TODO: This is super stupid but I did not find another way to create a Map.Entry???
for (entry in map) {
exitCode = executeConfiguredParser(commandLine, entry)
}
exitCode
executeConfiguredParser(commandLine, map.entries.first())
} else {
0
}
Expand Down

0 comments on commit 19f5b67

Please sign in to comment.