Skip to content

Commit

Permalink
Fixed bug, not the setup function is properly called in interactive m…
Browse files Browse the repository at this point in the history
…ode.
  • Loading branch information
bjsvedin committed Jan 27, 2022
1 parent fc04f82 commit 6c698ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/cli.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ public fun cliReturning(
}
val finalFunc = func
?: if(useInteractive) {
setup.isAccessible = true
setup.callBy(envArgs)
interactiveMode(available)
return null
} else {
Expand Down

0 comments on commit 6c698ac

Please sign in to comment.