Skip to content

Commit

Permalink
final linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
suit-up-repos committed Feb 27, 2024
1 parent 0886256 commit 594da66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci-code-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ jobs:

- name: Install dependencies
uses: ok-nick/[email protected]

- name : get latest roblox library
run: selene update-roblox-std

- name : Lint with selene
run: selene src
Expand Down
5 changes: 1 addition & 4 deletions src/Server/Modules/ProfileService.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2315,10 +2315,7 @@ task.spawn(function()
-- 1) Release all active profiles: --
-- Clone AutoSaveList to a new table because AutoSaveList changes when profiles are released:
local on_close_save_job_count = 0
local active_profiles = {}
for index, profile in ipairs(AutoSaveList) do
active_profiles[index] = profile
end
local active_profiles = AutoSaveList.clone()
-- Release the profiles; Releasing profiles can trigger listeners that release other profiles, so check active state:
for _, profile in ipairs(active_profiles) do
if profile:IsActive() == true then
Expand Down

0 comments on commit 594da66

Please sign in to comment.