Skip to content

Commit 137b27b

Browse files
removed try/catch and unnecessary commands
1 parent 5cc12e3 commit 137b27b

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

packages/react-devtools-extensions/deploy.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ const main = async buildId => {
1818
},
1919
stdio: 'inherit',
2020
});
21-
shell.pushd(root);
2221
shell.cp(join(root, 'now.json'), join(buildPath, 'now.json'));
23-
shell.popd();
2422
const file = readFileSync(join(root, 'now.json'));
2523
const json = JSON.parse(file);
2624
const alias = json.alias[0];

scripts/rollup/build-all-release-channels.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,7 @@ if (process.env.CIRCLE_NODE_TOTAL) {
7474
buildForChannel('stable', '', '');
7575
const stableDir = tmp.dirSync().name;
7676
crossDeviceRenameSync('./build', stableDir);
77-
try {
78-
processStable(stableDir);
79-
} catch (err) {
80-
console.log(err);
81-
}
77+
processStable(stableDir);
8278
buildForChannel('experimental', '', '');
8379
const experimentalDir = tmp.dirSync().name;
8480
crossDeviceRenameSync('./build', experimentalDir);

0 commit comments

Comments
 (0)