mirror of
https://github.com/go-task/task.git
synced 2025-06-15 00:15:10 +02:00
feat(remote): replace env variable in include remote URL (#1610)
* feat(remote): replace env variable in include remote URL * use templating system instead of os.ExpandEnv * lint
This commit is contained in:
@ -1200,8 +1200,10 @@ func TestIncludesInterpolation(t *testing.T) {
|
||||
expectedOutput string
|
||||
}{
|
||||
{"include", "include", false, "include\n"},
|
||||
{"include_with_env_variable", "include-with-env-variable", false, "include_with_env_variable\n"},
|
||||
{"include_with_dir", "include-with-dir", false, "included\n"},
|
||||
}
|
||||
t.Setenv("MODULE", "included")
|
||||
|
||||
for _, test := range tests {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user