This commit is contained in:
Dan
2020-02-26 21:02:20 +00:00
parent c1c5499cc3
commit efaffc4797
@@ -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