Skip to content

Commit

Permalink
fix(core): post processing skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
leegeunhyeok committed Oct 10, 2023
1 parent f4ecbf7 commit 0adb206
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/lib/bundler/bundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ export class ReactNativeEsbuildBundler extends BundlerEventEmitter {
// exit at the end of a build in bundle mode.
// if the build fails, exit to state 1.
if (context.mode === 'bundle') {
process.exit(data.success ? 0 : 1);
if (data.success) return;
process.exit(1);
}
const bundleEndedAt = new Date();
const bundleFilename = context.outfile;
Expand Down

2 comments on commit 0adb206

@vercel
Copy link

@vercel vercel bot commented on 0adb206 Oct 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements 16.12% 358/2221
🔴 Branches 19.39% 140/722
🔴 Functions 11.11% 71/639
🔴 Lines 15.32% 314/2049

Test suite run success

98 tests passing in 14 suites.

Report generated by 🧪jest coverage report action from 0adb206

Please sign in to comment.