@@ -150,7 +150,7 @@ func createCacheDir(ctx context.Context) (string, error) {
150150 return os .MkdirTemp ("" , "-pydabs" )
151151}
152152
153- func (m * pythonMutator ) runPythonMutator (ctx context.Context , cacheDir string , rootPath string , pythonPath string , root dyn.Value ) (dyn.Value , diag.Diagnostics ) {
153+ func (m * pythonMutator ) runPythonMutator (ctx context.Context , cacheDir , rootPath , pythonPath string , root dyn.Value ) (dyn.Value , diag.Diagnostics ) {
154154 inputPath := filepath .Join (cacheDir , "input.json" )
155155 outputPath := filepath .Join (cacheDir , "output.json" )
156156 diagnosticsPath := filepath .Join (cacheDir , "diagnostics.json" )
@@ -264,7 +264,7 @@ func writeInputFile(inputPath string, input dyn.Value) error {
264264 return os .WriteFile (inputPath , rootConfigJson , 0o600 )
265265}
266266
267- func loadOutputFile (rootPath string , outputPath string ) (dyn.Value , diag.Diagnostics ) {
267+ func loadOutputFile (rootPath , outputPath string ) (dyn.Value , diag.Diagnostics ) {
268268 outputFile , err := os .Open (outputPath )
269269 if err != nil {
270270 return dyn .InvalidValue , diag .FromErr (fmt .Errorf ("failed to open output file: %w" , err ))
@@ -379,7 +379,7 @@ func createLoadOverrideVisitor(ctx context.Context) merge.OverrideVisitor {
379379
380380 return right , nil
381381 },
382- VisitUpdate : func (valuePath dyn.Path , left dyn. Value , right dyn.Value ) (dyn.Value , error ) {
382+ VisitUpdate : func (valuePath dyn.Path , left , right dyn.Value ) (dyn.Value , error ) {
383383 return dyn .InvalidValue , fmt .Errorf ("unexpected change at %q (update)" , valuePath .String ())
384384 },
385385 }
@@ -428,7 +428,7 @@ func createInitOverrideVisitor(ctx context.Context) merge.OverrideVisitor {
428428
429429 return right , nil
430430 },
431- VisitUpdate : func (valuePath dyn.Path , left dyn. Value , right dyn.Value ) (dyn.Value , error ) {
431+ VisitUpdate : func (valuePath dyn.Path , left , right dyn.Value ) (dyn.Value , error ) {
432432 if ! valuePath .HasPrefix (jobsPath ) {
433433 return dyn .InvalidValue , fmt .Errorf ("unexpected change at %q (update)" , valuePath .String ())
434434 }
0 commit comments