@@ -756,7 +756,6 @@ consumes:
756756 Expect (yaml .Unmarshal ([]byte (rc .RuntimeConfig ), & inner )).To (Succeed ())
757757
758758 addon := inner .Addons [0 ]
759- // addon.Jobs[0] = registry-data (always first), [1] = dummy-smoke-tests, [2] = smoke_tests
760759 Expect (addon .Jobs ).To (HaveLen (3 ))
761760
762761 By ("keeping the no-properties job empty" )
@@ -916,7 +915,7 @@ releases:
916915 }
917916 yamlData , err := yaml .Marshal (& m )
918917 Expect (err ).NotTo (HaveOccurred ())
919- err = os .WriteFile (path .Join (inputPath , "base.yml" ), yamlData , 0644 ) // 0644 sets file permissions
918+ err = os .WriteFile (path .Join (inputPath , "base.yml" ), yamlData , 0644 )
920919 Expect (err ).NotTo (HaveOccurred ())
921920 })
922921
@@ -947,7 +946,7 @@ releases:
947946 }
948947 yamlData , err := yaml .Marshal (& m )
949948 Expect (err ).NotTo (HaveOccurred ())
950- err = os .WriteFile (path .Join (inputPath , "base.yml" ), yamlData , 0644 ) // 0644 sets file permissions
949+ err = os .WriteFile (path .Join (inputPath , "base.yml" ), yamlData , 0644 )
951950 Expect (err ).NotTo (HaveOccurred ())
952951 })
953952
@@ -1367,8 +1366,6 @@ func TestShellQuoteCommand(t *testing.T) {
13671366 {
13681367 name : "a hostile command is neutralized, not interpreted" ,
13691368 command : "/bin/true; rm -rf /" ,
1370- // Everything after the first word becomes literal arguments to
1371- // /bin/true — the shell never sees an unquoted ';'.
13721369 want : `'/bin/true;' 'rm' '-rf' '/'` ,
13731370 },
13741371 {
0 commit comments