Commit 0aeab5fd authored by Jeffrey Wilcke's avatar Jeffrey Wilcke

Merge pull request #1929 from ethersphere/develop

fix console history, lines with leadning whitespace NOT included
parents 77878f76 6b5d077c
......@@ -439,7 +439,7 @@ func (self *jsre) interactive() {
func mustLogInHistory(input string) bool {
return len(input) == 0 ||
passwordRegexp.MatchString(input) ||
leadingSpace.MatchString(input)
!leadingSpace.MatchString(input)
}
func (self *jsre) withHistory(datadir string, op func(*os.File)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment