Skip to content

Commit 07d2c78

Browse files
authored
fix(builder): remove duplicate early-return in backfillNativeDroppedFiles (#1148)
The second `if (missingAbs.length === 0) return;` was dead — the first identical check on the preceding line guaranteed it could never execute. Closes #1144
1 parent 1ff4b54 commit 07d2c78

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/domain/graph/builder/pipeline.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,8 +1023,6 @@ async function backfillNativeDroppedFiles(
10231023

10241024
if (missingAbs.length === 0) return;
10251025

1026-
if (missingAbs.length === 0) return;
1027-
10281026
// Classify drops so users see per-extension reasons instead of just a count
10291027
// (#1011). `unsupported-by-native` is a legitimate parser limit (no Rust
10301028
// extractor); `native-extractor-failure` indicates a real native bug since

0 commit comments

Comments
 (0)