🐛 make the template and template dir parameters independent. (#292)

pull/294/head
TinyBox 1 year ago committed by GitHub
parent 04a6488740
commit 4977d3165d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,10 +32,10 @@ local new_gotests_args = function(parallel)
if string.len(gotests_template) > 0 then
table.insert(args, "-template")
table.insert(args, gotests_template)
if string.len(gotests_template_dir) > 0 then
table.insert(args, "-template_dir")
table.insert(args, gotests_template_dir)
end
end
if string.len(gotests_template_dir) > 0 then
table.insert(args, "-template_dir")
table.insert(args, gotests_template_dir)
end
return args
end

Loading…
Cancel
Save