Repository navigation
Commit a25667a
committed
fix(contracts): stop exporting the SNAPSHOT_OPTION_FLAGS pin
The compile-time pin added against CommandFlags was exported, which the
layering gate's facade-exhaustiveness check flagged: packages/contracts/src/
facades/command.ts re-exports command-flags.ts but omitted it, an accidental
narrowing. The pin is not API -- nothing reads its value, it only exists to
fail the build on a renamed or misspelled flag key. Keep it unexported and
consume it with `void` so oxlint's no-unused-vars stays satisfied without
widening the facade.1 parent 500a493 commit a25667a
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
0 commit comments