Commit db6080d 1 parent 45bc445 commit db6080d Copy full SHA for db6080d
File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,6 @@ func validate(c *cli.Context) error {
203
203
204
204
// set when user is sourcing templates from local machine
205
205
if len (p .TemplateFiles ) != 0 {
206
- client .WithLocal (true )
207
206
client .WithLocalTemplates (p .TemplateFiles )
208
207
client .TemplateDepth = c .Int ("max-template-depth" )
209
208
} else {
@@ -216,5 +215,5 @@ func validate(c *cli.Context) error {
216
215
// execute the validate local call for the pipeline configuration
217
216
//
218
217
// https://pkg.go.dev/github.com/go-vela/cli/action/pipeline?tab=doc#Config.ValidateLocal
219
- return p .ValidateLocal (client .WithPrivateGitHub (c .String (internal .FlagCompilerGitHubURL ), c .String (internal .FlagCompilerGitHubToken )))
218
+ return p .ValidateLocal (client .WithLocal ( true ). WithPrivateGitHub (c .String (internal .FlagCompilerGitHubURL ), c .String (internal .FlagCompilerGitHubToken )))
220
219
}
You can’t perform that action at this time.
0 commit comments