Commit edfdec7
authored
Fix esbuild warning (#2513)
Not totally sure what it's about but this fix makes the warnings go away
and doesn't break anything
```
▲ [WARNING] "./reporters/parallel-buffered" should be marked as external for use with "require.resolve" [require-resolve-not-external]
../../node_modules/.pnpm/mocha@10.3.0/node_modules/mocha/lib/nodejs/parallel-buffered-runner.js:19:2:
19 │ './reporters/parallel-buffered'
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
▲ [WARNING] "./worker.js" should be marked as external for use with "require.resolve" [require-resolve-not-external]
../../node_modules/.pnpm/mocha@10.3.0/node_modules/mocha/lib/nodejs/buffered-worker-pool.js:16:36:
16 │ const WORKER_PATH = require.resolve('./worker.js');
╵ ~~~~~~~~~~~~~
```
## Checklist
- [-] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [-] I have updated the
[docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and
[cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
- [-] I have not broken the cheatsheet1 parent ef04390 commit edfdec7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments