1
0
mirror of https://github.com/go-task/task.git synced 2025-06-15 00:15:10 +02:00

Allow template evaluation in parameters

When passing variables to a sub-task, allow template evaluation
within the passed-on variables.
This commit is contained in:
Sindre Røkenes Myren
2017-07-06 18:40:21 +02:00
committed by Sindre Myren
parent 774ef61c2f
commit 2f9381065d
3 changed files with 14 additions and 1 deletions

View File

@ -178,6 +178,7 @@ func TestParams(t *testing.T) {
{"exclamation.txt", "!\n"},
{"dep1.txt", "Dependence1\n"},
{"dep2.txt", "Dependence2\n"},
{"spanish.txt", "¡Holla mundo!\n"},
}
for _, f := range files {