Commit 4e04915
🤖 fix: simplify worker path resolution using __dirname (#506)
Replaces complex path manipulation logic with simple `__dirname` usage.
Both `workerPool.js` and `tokenizer.worker.js` compile to the same
directory (`dist/utils/main/`), so we can use `__dirname` directly.
This removes platform-specific path handling and makes the code more
maintainable.
_Generated with `cmux`_
---------
Signed-off-by: Test <test@example.com>
Co-authored-by: Test <test@example.com>1 parent dbb3d39 commit 4e04915
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
0 commit comments