Skip to content

chore: [bpt_addons]\bpt_menu🎨 Run formatter #161

chore: [bpt_addons]\bpt_menu🎨 Run formatter

chore: [bpt_addons]\bpt_menu🎨 Run formatter #161

Triggered via push July 11, 2024 15:31
Status Failure
Total duration 28s
Artifacts
Stylua Check
18s
Stylua Check
Fit to window
Zoom out
Zoom in

Annotations

101 errors and 1 warning
Stylua Check
The process '/home/runner/work/_temp/426e701a-647d-43a2-91f8-a9ad959abfba/stylua' failed with exit code 2
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:51:10: unused global variable 'AddSharedAccount'
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:113:15: unused variable 'label'
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:127:19: value assigned to variable 'money' is unused
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:131:32: accessing undefined variable 'NULL'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:14:30: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:23:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:30:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:43:34: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:60:16: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:63:28: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:93:10: unused global variable 'AddSharedInventory'
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:33:86: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:35:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:41:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:130:102: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:37: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:89: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:298:32: accessing undefined variable 'HasAlreadyEnteredMarker'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:298:76: accessing undefined variable 'LastZone'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:304:31: accessing undefined variable 'HasAlreadyEnteredMarker'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:306:59: accessing undefined variable 'LastZone'
lua.server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:16:23: value assigned to variable 'ped' is overwritten on line 19 before use
lua.server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:24:17: loop is executed at most once
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:616:14: accessing undefined variable 'Sleep'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:49:14: unused global variable 'GetPlayerAccounts'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:57:14: unused global variable 'GetSocietyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:66:18: unused global variable 'GetSocietyMoney2'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:108:19: unused variable 'playerJob'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:108:19: shadowing definition of variable 'playerJob' on line 102
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:109:16: accessing undefined variable 'playerJob2'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:109:60: accessing undefined variable 'playerJob2'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:660:37: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:675:17: accessing undefined field 'CreateThreadNow' of global 'Citizen'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:747:37: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:750:37: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:763:34: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:766:34: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:786:62: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:786:88: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:787:40: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:10: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:798:46: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:11: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:808:47: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:10:3: accessing undefined field 'round' of global 'math'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:10:55: accessing undefined field 'round' of global 'math'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:22:13: accessing undefined field 'round' of global 'math'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:27:15: accessing undefined field 'round' of global 'math'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:27:59: accessing undefined field 'round' of global 'math'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:60:22: value of argument 'Options' is unused
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:104:24: value of argument 'Options' is unused
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:51:10: unused global variable 'AddSharedAccount'
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:113:15: unused variable 'label'
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:127:19: value assigned to variable 'money' is unused
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:131:32: accessing undefined variable 'NULL'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:14:30: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:23:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:30:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:43:34: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:60:16: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:63:28: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:93:10: unused global variable 'AddSharedInventory'
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:33:86: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:35:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:41:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:130:102: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:37: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:89: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:298:32: accessing undefined variable 'HasAlreadyEnteredMarker'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:298:76: accessing undefined variable 'LastZone'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:304:31: accessing undefined variable 'HasAlreadyEnteredMarker'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:306:59: accessing undefined variable 'LastZone'
lua.server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:16:23: value assigned to variable 'ped' is overwritten on line 19 before use
lua.server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:24:17: loop is executed at most once
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:616:14: accessing undefined variable 'Sleep'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:49:14: unused global variable 'GetPlayerAccounts'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:57:14: unused global variable 'GetSocietyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:66:18: unused global variable 'GetSocietyMoney2'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:108:19: unused variable 'playerJob'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:108:19: shadowing definition of variable 'playerJob' on line 102
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:109:16: accessing undefined variable 'playerJob2'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:109:60: accessing undefined variable 'playerJob2'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:660:37: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:675:17: accessing undefined field 'CreateThreadNow' of global 'Citizen'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:747:37: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:750:37: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:763:34: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:766:34: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:786:62: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:786:88: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:787:40: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:10: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:798:46: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:11: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:808:47: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:10:3: accessing undefined field 'round' of global 'math'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:10:55: accessing undefined field 'round' of global 'math'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:22:13: accessing undefined field 'round' of global 'math'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:27:15: accessing undefined field 'round' of global 'math'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:27:59: accessing undefined field 'round' of global 'math'
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:60:22: value of argument 'Options' is unused
lua.server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/dependencies/menu/MenuController.lua:104:24: value of argument 'Options' is unused
Stylua Check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: JohnnyMorganz/stylua-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/