Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LostbBlizzard committed Oct 19, 2024
1 parent a8461b0 commit 9ea93a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ninja.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ function ninja.generateWorkspace(wks)
if wks.defaultplatform == "" then
cfg_first = key
elseif cfg.platform == wks.defaultplatform then
cfg_first = key
break
if cfg_first == nil then
cfg_first = key
end
end
end

Expand Down

0 comments on commit 9ea93a8

Please sign in to comment.