fix: do not inline process.env during bun run and bun test (#7614)

* env stuff

* ok

* undo

* remove unused param

* resolve review comment

* dupe

* it compiles now i promise
This commit is contained in:
dave caruso
2023-12-13 06:05:03 -08:00
committed by GitHub
parent 38c6575dc8
commit 5029fc8564
8 changed files with 193 additions and 89 deletions

View File

@@ -509,9 +509,7 @@ WTF::String BunString::toWTFString(ZeroCopyTag) const
}
if (this->tag == BunStringTag::WTFStringImpl) {
#if BUN_DEBUG
RELEASE_ASSERT(this->impl.wtf->refCount() > 0);
#endif
ASSERT(this->impl.wtf->refCount() > 0);
return WTF::String(this->impl.wtf);
}