Skip to content

improve buttons block conversion #2

improve buttons block conversion

improve buttons block conversion #2

Triggered via push December 20, 2024 10:26
Status Failure
Total duration 28s
Artifacts

code.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: src/routes/draftjs.js#L16
Replace `.map((block)·=>·convertFromDraftJS(block.text))` with `⏎····.map((block)·=>·convertFromDraftJS(block.text))⏎····`
build: src/routes/draftjs.js#L23
Replace `(html[0]·===·"<")·?·html·:·`<p>${html}</p>`,·converter` with `⏎········html[0]·===·'<'·?·html·:·`<p>${html}</p>`,⏎········converter,⏎······`
build: src/routes/draftjs.test.js#L1
Delete `⏎`
build: src/routes/draftjs.test.js#L9
Replace `"@type":·"text"` with `'@type':·'text'`
build: src/routes/draftjs.test.js#L10
Replace `"text"` with `text`
build: src/routes/draftjs.test.js#L11
Replace `"blocks"` with `blocks`
build: src/routes/draftjs.test.js#L13
Replace `"key":·"2eesh"` with `key:·'2eesh'`
build: src/routes/draftjs.test.js#L14
Replace `"text":·"Would·you·like·to·help·with·this·effort?"` with `text:·'Would·you·like·to·help·with·this·effort?'`
build: src/routes/draftjs.test.js#L15
Replace `"type":·"header-two"` with `type:·'header-two'`
build: src/routes/draftjs.test.js#L16
Replace `"depth"` with `depth`
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636