Prettier
Dan committed
Feb 26, 2020 at 21:02 UTC
efaffc4797014d3b468e8f3c64c326f078a22c5d
1 file changed
+3
-4
scripts/release/publish-commands/download-error-codes-from-ci.js
+3
-4
@@ -28,13 +28,12 @@ const run = async ({cwd, packages, tags}) => {
28
29
// Each container stores an "error-codes" artifact, unfortunately.
30
// We want to use the one that also ran `yarn build` since it may have modifications.
31
- const {node_index} = artifacts.find(
32
- entry => entry.path.endsWith('node_modules.tgz')
31
+ const {node_index} = artifacts.find(entry =>
32
+ entry.path.endsWith('node_modules.tgz')
33
);
34
const {url} = artifacts.find(
35
entry =>
36
- entry.node_index === node_index &&
37
- entry.path.endsWith('codes.json')
36
+ entry.node_index === node_index && entry.path.endsWith('codes.json')
37
);
38
39
// Download and stage changers