mirror of
https://github.com/Luzifer/envrun.git
synced 2024-12-20 18:31:17 +00:00
Allow comments in .env file
This commit is contained in:
parent
d49af9f963
commit
b38f4c416e
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -32,7 +32,7 @@ func infoLog(message string, args ...interface{}) {
|
|||
func envListToMap(list []string) map[string]string {
|
||||
out := map[string]string{}
|
||||
for _, entry := range list {
|
||||
if len(entry) == 0 {
|
||||
if len(entry) == 0 || entry[0] == '#' {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue