Michael H

Results 111 comments of Michael H

Consider making custom inspect function exception's better Context: > When a custom inspect function threw an exception, Bun would return `[native code]`. This was confusing. We wish we could change...

Bun fullstack doesn't support `bun build` yet sadly. As such build is just making it the file path like it does to unknown imports, and that isn't a valid parameter...

> I don't think it should ever be require.module? I think this code probably meant module.require which should work The earlier line (`if (p.options.require_ref) |require| { p.printSymbol(require);`) is what is...

Nice, can you make a test to verify it works across platforms and not regress in future:)

I think you should also update the docs with this new order to be more explicit :) https://bun.sh/docs/cli/run

I was wondering if this would be an issue, I believe it indeed uses the last string as the `--test-name-pattern` instead of them all separated with space.

In #20645 I'm made/making it slightly smarter where it uses full name (i.e describe + test). It also uses regex for start and end, so it shouldn't match too much...

Aside from fully identical names, the new extension mentioned above should be way smarter about what to run

~~Also its interesting how on macos its always `1`~~ ~~Edit: that was canary, on stable its 3001 like others~~ ~~Edit 2: now macos 3001 like rest again~~ Edit 3: can't...

I believe this is fixed now! The node test should be added by #20010 so it shouldn't regress again. If it isn't solved for you, please let me know to...