Skip to content

Fix empty returns in readApiCall #133

Fix empty returns in readApiCall

Fix empty returns in readApiCall #133

Triggered via push November 28, 2024 03:10
Status Failure
Total duration 2m 2s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

14 errors
test (ubuntu-latest): src/renderer/Editor.tsx#L140
Use object destructuring
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L51
Replace `·ctx.length·+·Math.max(⏎········...completions.map(completion·=>·completion.length)⏎······` with `⏎········ctx.length·+⏎········Math.max(...completions.map((completion)·=>·completion.length)`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L58
Replace `null,·isContext` with `⏎········null,⏎········isContext⏎·········`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L59
Replace `········.filter(completion·=>` with `··············.filter((completion)·=>⏎···············`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L60
Replace `··········?·((ctx·+·completion).startsWith(buf.trim())` with `··················?·(ctx·+·completion).startsWith(buf.trim())·&&`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L61
Replace `&&·(ctx·+·completion)·!==·buf.trim())` with `········ctx·+·completion·!==·buf.trim()`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L62
Replace `··········:·(ctx·===·buf.trim())` with `··················:·ctx·===·buf.trim(),⏎··············`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L63
Replace `········.map(caption` with `··············.map((caption)`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L64
Replace `··········` with `················`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L65
Replace `············` with `··················`
test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
test (windows-latest)
The operation was canceled.
test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
test (macos-latest)
The operation was canceled.