File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ func ParseFile(path string) (_ map[string]string, err error) {
7676
7777 scanner := bufio .NewScanner (fh )
7878 for scanner .Scan () {
79- // trim the line from all leading whitespace first
79+ // Trim the line from all leading whitespace first.
8080 line := strings .TrimLeft (scanner .Text (), whiteSpaces )
81- // line is not empty, and not starting with '#'
81+ // Line is not empty, and not starting with '#'.
8282 if len (line ) > 0 && ! strings .HasPrefix (line , "#" ) {
8383 if err := parseEnv (env , line ); err != nil {
8484 return nil , err
@@ -111,7 +111,7 @@ func parseEnv(env map[string]string, line string) error {
111111 }
112112 }
113113 } else if val , ok := os .LookupEnv (name ); ok {
114- // if only a pass-through variable is given, clean it up.
114+ // If only a pass-through variable is given, clean it up.
115115 env [name ] = val
116116 }
117117 }
You can’t perform that action at this time.
0 commit comments