From 010bab5aaf7df40a514cc86c47dd58e2722d2719 Mon Sep 17 00:00:00 2001 From: Ice3man Date: Wed, 23 Feb 2022 21:45:55 +0530 Subject: [PATCH] Fixed failing tests due to missing field declaration --- v2/internal/runner/options.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v2/internal/runner/options.go b/v2/internal/runner/options.go index 9352dd03..22764c27 100644 --- a/v2/internal/runner/options.go +++ b/v2/internal/runner/options.go @@ -23,9 +23,11 @@ import ( ) func ConfigureOptions() error { - goflags.DefaultFileNormalizedStringSliceOptions.IsFromFile = func(s string) bool { + isFromFileFunc := func(s string) bool { return !isTemplate(s) } + goflags.DefaultFileNormalizedStringSliceOptions.IsFromFile = isFromFileFunc + goflags.DefaultFileOriginalNormalizedStringSliceOptions.IsFromFile = isFromFileFunc return nil }