File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,13 +87,13 @@ export default async function(github) {
8787 } else {
8888 const newVersions = await checkForMuslVersionsAndSecurityReleases ( github , versions ) ;
8989 let updatedVersions = [ ] ;
90- for ( let version of Object . keys ( newVersions ) ) {
91- if ( newVersions [ version ] . muslBuildExists ) {
92- const { stdout } = await exec ( `./update.sh ${ newVersions [ version ] . isSecurityRelease ? "-s " : "" } ${ version } ` ) ;
90+ for ( const [ version , newVersion ] of Object . entries ( newVersions ) ) {
91+ if ( newVersion . muslBuildExists ) {
92+ const { stdout } = await exec ( `./update.sh ${ newVersion . isSecurityRelease ? "-s " : "" } ${ version } ` ) ;
9393 console . log ( stdout ) ;
94- updatedVersions . push ( newVersions [ version ] . fullVersion ) ;
94+ updatedVersions . push ( newVersion . fullVersion ) ;
9595 } else {
96- console . log ( `There's no musl build for version ${ newVersions [ version ] . fullVersion } yet.` ) ;
96+ console . log ( `There's no musl build for version ${ newVersion . fullVersion } yet.` ) ;
9797 process . exit ( 0 ) ;
9898 }
9999 }
You can’t perform that action at this time.
0 commit comments