Skip to content

Fail to fix some bad completions #130

Fail to fix some bad completions

Fail to fix some bad completions #130

Triggered via push November 21, 2024 10:51
Status Failure
Total duration 2m 27s
Artifacts

test.yml

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

Annotations

14 errors and 1 warning
test (ubuntu-latest): src/renderer/Editor.tsx#L140
Use object destructuring
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L45
Replace `⏎····ctx:·string,⏎····completions:·string[],⏎··` with `ctx:·string,·completions:·string[]`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L59
Insert `⏎·········`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L83
Replace `·ctx.length·+·Math.max(` with `⏎··········ctx.length·+`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L84
Replace `...completions.map(completion·=>·completion.length)⏎········` with `Math.max(...completions.map((completion)·=>·completion.length)`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L91
Replace `lastWasIdentifier·&&·(tokenIsIdent()·||·token.value.trim()·!==·token.value)` with `⏎············lastWasIdentifier·&&⏎············(tokenIsIdent()·||·token.value.trim()·!==·token.value)⏎··········`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L98
Unexpected use of continue statement
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L106
Replace `null,·isContext` with `⏎··········null,⏎··········isContext⏎···········`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L107
Replace `··········.filter(completion·=>` with `················.filter((completion)·=>⏎·················`
test (ubuntu-latest): src/renderer/addEditorAutocomplete.ts#L108
Replace `············?·((ctx·+·completion).startsWith(beforeCaret))` with `····················?·(ctx·+·completion).startsWith(beforeCaret)`
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.
test (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/