mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 11:57:50 +02:00
Add map init so the map is non-nil
This commit is contained in:
parent
7f9263f931
commit
fe6447fa06
@ -31,6 +31,7 @@ var usedGoldens map[string]bool
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
initialWd = getInitialWd()
|
initialWd = getInitialWd()
|
||||||
|
usedGoldens = make(map[string]bool)
|
||||||
}
|
}
|
||||||
|
|
||||||
func getInitialWd() string {
|
func getInitialWd() string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user