mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-14 16:55:53 +00:00
Merge pull request #1929 from ethersphere/develop
fix console history, lines with leadning whitespace NOT included
This commit is contained in:
commit
0aeab5fd83
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user