diff --git a/scripts/release/publish-commands/download-error-codes-from-ci.js b/scripts/release/publish-commands/download-error-codes-from-ci.js index 3039043b5a..76eb93b22f 100644 --- a/scripts/release/publish-commands/download-error-codes-from-ci.js +++ b/scripts/release/publish-commands/download-error-codes-from-ci.js @@ -28,13 +28,12 @@ const run = async ({cwd, packages, tags}) => { // Each container stores an "error-codes" artifact, unfortunately. // We want to use the one that also ran `yarn build` since it may have modifications. - const {node_index} = artifacts.find( - entry => entry.path.endsWith('node_modules.tgz') + const {node_index} = artifacts.find(entry => + entry.path.endsWith('node_modules.tgz') ); const {url} = artifacts.find( entry => - entry.node_index === node_index && - entry.path.endsWith('codes.json') + entry.node_index === node_index && entry.path.endsWith('codes.json') ); // Download and stage changers