perf: fix for cluster aggregation performance #26
Annotations
10 errors and 2 warnings
Test:
lib/cluster.js#L182
Delete `↹↹↹↹`
|
Test:
lib/cluster.js#L184
Insert `·`
|
Test:
lib/cluster.js#L190
Replace `(err)` with `err`
|
Test:
lib/cluster.js#L191
Replace `(err)·console.error(`Error·deleting·file·${message.filename}:`,·err)` with `·(err)⏎↹↹↹↹↹↹↹↹console.error(`Error·deleting·file·${message.filename}:`,·err);`
|
Test:
lib/cluster.js#L198
Delete `↹↹`
|
Test:
lib/cluster.js#L215
'i' is defined but never used
|
Test:
lib/cluster.js#L219
Replace `"hash"` with `'hash'`
|
Test:
lib/cluster.js#L219
["hash"] is better written in dot notation
|
Test:
lib/cluster.js#L223
Replace `os.tmpdir(),·`metrics-${process.pid}-${message.requestId}.json`` with `⏎↹↹↹↹↹↹↹os.tmpdir(),⏎↹↹↹↹↹↹↹`metrics-${process.pid}-${message.requestId}.json`,⏎↹↹↹↹↹↹`
|
Test:
lib/cluster.js#L224
Replace `(err)` with `err`
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test:
lib/cluster.js#L190
'err' is already declared in the upper scope on line 183 column 44
|
Loading