-
Dmitry Rozhkov authored
Currently we maintain the state of the mode of interactiveness by updating flags.nonInteractiveMode even if the flag hasn't been set by the user. Since the computation of the mode is done only once it's easier and less error prone to calculate the mode in the function sessionIsInteractive() without mutating any flags.
339a9c1c