Replace var in javascript with let/const #2882
Annotations
21 errors
test/spec/actions/upgrade_tags.js > iD.actionUpgradeTags > upgrades a tag with no replacement tags:
test/spec/actions/upgrade_tags.js#L38
ReferenceError: Cannot access 'newTags' before initialization
❯ test/spec/actions/upgrade_tags.js:38:63
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for way with only 2 nodes connected to another 2-node way:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:54:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for selected way with more than 2 nodes:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:64:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for selected, ordered, continuous ways:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:69:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for selected, un-ordered, continuous ways:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:74:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for selected, continuous ways with different way-directions:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:79:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for 2 selected nodes in the same way, more than one node apart:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:84:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for 2 selected nodes in adjacent ways, more than one node apart:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:89:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for 2 selected nodes in non-adjacent ways, providing in between ways are selected:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:94:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for 2 selected nodes in non-adjacent, non-same-directional ways, providing in between ways are selected:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:99:31
|
build (18)
The job was canceled because "_20" failed.
|
test/spec/actions/upgrade_tags.js > iD.actionUpgradeTags > upgrades a tag with no replacement tags:
test/spec/actions/upgrade_tags.js#L38
ReferenceError: Cannot access 'newTags' before initialization
❯ test/spec/actions/upgrade_tags.js:38:63
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for way with only 2 nodes connected to another 2-node way:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:54:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for selected way with more than 2 nodes:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:64:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for selected, ordered, continuous ways:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:69:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for selected, un-ordered, continuous ways:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:74:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for selected, continuous ways with different way-directions:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:79:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for 2 selected nodes in the same way, more than one node apart:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:84:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for 2 selected nodes in adjacent ways, more than one node apart:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:89:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for 2 selected nodes in non-adjacent ways, providing in between ways are selected:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:94:31
|
test/spec/operations/straighten.js > iD.operationStraighten > #available > is available for 2 selected nodes in non-adjacent, non-same-directional ways, providing in between ways are selected:
modules/operations/straighten.js#L70
ReferenceError: Cannot access '_geometry' before initialization
❯ chooseAction modules/operations/straighten.js:70:23
❯ Module.operationStraighten modules/operations/straighten.js:16:21
❯ test/spec/operations/straighten.js:99:31
|