Change signature of fsmodtime.ExpandEnv
to accept a map of replacements:
- func ExpandEnv(lines []string) ([]string, error)
+ func ExpandEnv(lines []string, replacements map[string]string) ([]string, error)
Since the replacements can be nil, adding nil to the second argument will maintain existing behavior.