Commit 1b7a748
refactor(build): Simplify get_version and add test comment (#2914)
## Summary
Minor refactoring to simplify the `get_version` function and add
clarifying comment in integration test.
## Changes
- Simplify `get_version` by removing intermediate variable and returning
expression directly
- Add comment in integration test explaining why we override the version
(for consistent checksums)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0a030d4 commit 1b7a748
File tree
2 files changed
+3
-3
lines changed- src/utils/build
- tests/integration/build
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | | - | |
| 25 | + | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
| |||
0 commit comments