Skip to content

Added Generate Excerpt for the Classic Editor. #1054

Added Generate Excerpt for the Classic Editor.

Added Generate Excerpt for the Classic Editor. #1054

Triggered via pull request August 10, 2023 16:50
Status Failure
Total duration 1m 43s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
eslint: src/js/post-excerpt-classic-editor/index.js#L4
Replace `classifaiGenerateExcerptButtonID` with `⏎↹classifaiGenerateExcerptButtonID⏎`
eslint: src/js/post-excerpt-classic-editor/index.js#L6
Replace `classifaiGenerateExcerptTextareaID` with `⏎↹classifaiGenerateExcerptTextareaID⏎`
eslint: src/js/post-excerpt-classic-editor/index.js#L12
Replace `classifaiGenerateExcerpt·&&·classifaiGenerateExcerpt.scriptDebug` with `·classifaiGenerateExcerpt·&&·classifaiGenerateExcerpt.scriptDebug·`
eslint: src/js/post-excerpt-classic-editor/index.js#L12
'classifaiGenerateExcerpt' is not defined
eslint: src/js/post-excerpt-classic-editor/index.js#L12
'classifaiGenerateExcerpt' is not defined
eslint: src/js/post-excerpt-classic-editor/index.js#L13
'classifaiGenerateExcerpt' is not defined
eslint: src/js/post-excerpt-classic-editor/index.js#L17
Replace `null·!==·classifaiGenerateExcerptButtonElement)·{⏎` with `·null·!==·classifaiGenerateExcerptButtonElement·)·{`
eslint: src/js/post-excerpt-classic-editor/index.js#L20
Expected an assignment or function call and instead saw an expression
eslint: src/js/post-excerpt-classic-editor/index.js#L20
Replace `·console.log('Classifai·Generate·Excerpt·Debug:·Button·clicked,·excerpt·is·being·generated..'` with `⏎↹↹↹console.log(⏎↹↹↹↹'Classifai·Generate·Excerpt·Debug:·Button·clicked,·excerpt·is·being·generated..'⏎↹↹↹`
vipcs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/