oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
71.09k stars 2.47k forks source link

Add assertion that count() was called before allocate() in lockfile stringbuilder #10901

Closed Jarred-Sumner closed 1 week ago

Jarred-Sumner commented 1 week ago

What does this PR do?

Let's avoid this footgun in the future

Add assertion that count() was called before allocate() in lockfile stringbuilder

How did you verify your code works?

github-actions[bot] commented 1 week ago

❌ @Jarred-Sumner, your commit has failing tests :(

ο£ΏπŸ’ͺ 2 failing tests Darwin AARCH64

ο£ΏπŸ’» 1 failing tests Darwin x64 baseline

ο£ΏπŸ’» 2 failing tests Darwin x64

🐧πŸ–₯ 1 failing tests Linux x64 baseline

🐧πŸ–₯ 1 failing tests Linux x64

πŸͺŸπŸ’» 8 failing tests Windows x64 baseline

πŸͺŸπŸ’» 8 failing tests Windows x64

View logs