Skip to content

Refactoring code to reduce cognitive complexity of Flags.validate function in src/flags.js #121

Refactoring code to reduce cognitive complexity of Flags.validate function in src/flags.js

Refactoring code to reduce cognitive complexity of Flags.validate function in src/flags.js #121

Re-run triggered January 24, 2025 00:26
Status Failure
Total duration 1m 53s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test: test/flags.js#L1196
Expected indentation of 1 tab but found 4 spaces
test: test/flags.js#L1197
Expected indentation of 2 tabs but found 8 spaces
test: test/flags.js#L1198
Expected indentation of 2 tabs but found 8 spaces
test: test/flags.js#L1200
Expected indentation of 2 tabs but found 8 spaces
test: test/flags.js#L1201
Expected indentation of 3 tabs but found 12 spaces
test: test/flags.js#L1202
Expected indentation of 2 tabs but found 8 spaces
test: test/flags.js#L1203
Expected indentation of 3 tabs but found 12 spaces
test: test/flags.js#L1204
Expected indentation of 3 tabs but found 12 spaces
test: test/flags.js#L1205
Expected indentation of 2 tabs but found 8 spaces
test: test/flags.js#L1206
Expected indentation of 1 tab but found 4 spaces
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636