Skip to content

Fix addSource condition (#2524) #1070

Fix addSource condition (#2524)

Fix addSource condition (#2524) #1070

Triggered via push April 9, 2025 17:24
Status Success
Total duration 1m 42s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
test-node: modules/react-maplibre/src/maplibre/maplibre.ts#L448
Method '_updateStyleComponents' has a complexity of 14. Maximum allowed is 11
test-node: modules/react-maplibre/src/maplibre/maplibre.ts#L252
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
test-node: modules/react-maplibre/src/components/popup.ts#L41
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
test-node: modules/react-mapbox/src/utils/transform.ts#L65
Function 'applyViewStateToTransform' has too many statements (29). Maximum allowed is 25
test-node: modules/react-mapbox/src/utils/transform.ts#L35
Function 'compareViewStateWithTransform' has a complexity of 14. Maximum allowed is 11
test-node: modules/react-mapbox/src/mapbox/proxy-transform.ts#L92
Method 'set' has a complexity of 28. Maximum allowed is 11
test-node: modules/react-mapbox/src/mapbox/proxy-transform.ts#L92
Method 'set' has too many statements (28). Maximum allowed is 25
test-node: modules/react-mapbox/src/mapbox/proxy-transform.ts#L42
Method 'get' has a complexity of 12. Maximum allowed is 11
test-node: modules/react-mapbox/src/mapbox/mapbox.ts#L505
Method '_updateStyleComponents' has a complexity of 13. Maximum allowed is 11
test-node: modules/main/src/mapbox-legacy/mapbox/mapbox.ts#L518
Method '_updateStyleComponents' has a complexity of 13. Maximum allowed is 11
test-node
Unexpected input(s) 'cache', valid inputs are ['volta-version', 'node-version', 'npm-version', 'yarn-version', 'package-json-path', 'variant', 'registry-url', 'scope', 'token', 'always-auth']