Skip to content

[Feat] Edit license header #6

[Feat] Edit license header

[Feat] Edit license header #6

Triggered via pull request August 19, 2024 13:49
Status Failure
Total duration 36s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
test: rules/license-header.js#L36
Insert `⏎·········`
test: rules/license-header.js#L37
Insert `⏎·········`
test: rules/license-header.js#L39
Replace `.substring(0,·Math.max(0,·source.indexOf('\n'))).trim()` with `⏎··········.substring(0,·Math.max(0,·source.indexOf("\n")))⏎··········.trim()⏎··········`
test: rules/license-header.js#L49
Replace `·fixer.insertTextBeforeRange([0,·0],·NEW_FILE_LICENSE_HEADER·+·"\n\n"` with `⏎··············fixer.insertTextBeforeRange(⏎················[0,·0],⏎················NEW_FILE_LICENSE_HEADER·+·"\n\n"⏎··············`
test: rules/license-header.js#L51
Delete `·`
test: rules/license-header.js#L53
Replace `!prefixLinesAreValid·||·(isModifiedFileHeaderPresent·&&·headerIndex·===·-1)` with `⏎··········!prefixLinesAreValid·||⏎··········(isModifiedFileHeaderPresent·&&·headerIndex·===·-1)⏎········`
test: rules/license-header.js#L53
'headerIndex' is not defined
test: rules/license-header.js#L57
Replace `·fixer.insertTextBeforeRange([0,·0],·MODIFIED_FILE_LICENSE_HEADER·+·"\n\n"` with `⏎··············fixer.insertTextBeforeRange(⏎················[0,·0],⏎················MODIFIED_FILE_LICENSE_HEADER·+·"\n\n"⏎··············`
test
Process completed with exit code 1.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/