Fix typo: Enviroment -> Environment

This commit is contained in:
NI
2020-08-17 12:56:03 +08:00
parent b1b5317ec9
commit 441374c0d4
2 changed files with 6 additions and 4 deletions

View File

@@ -47,7 +47,9 @@ func (s String) Parse() (string, error) {
return string(fData), nil
case "enviroment":
case "enviroment": // You see what I did there. Remove this a later
fallthrough
case "environment":
return os.Getenv(ss[sSchemeLeadEnd:]), nil
case "literal":