Skip to content

Commit

Permalink
Explicit step in range
Browse files Browse the repository at this point in the history
  • Loading branch information
pnezis committed Jun 7, 2024
1 parent b6c141c commit cf9583a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspace/lib/mix/tasks/workspace.run.ex
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ defmodule Mix.Tasks.Workspace.Run do
partition = System.get_env("WORKSPACE_RUN_PARTITION")

case partition && Integer.parse(partition) do
{partition, ""} when partition in 1..partitions ->
{partition, ""} when partition in 1..partitions//1 ->
partition = partition - 1

for {project, index} <- Enum.with_index(Enum.sort_by(projects, & &1.app)),
Expand Down

0 comments on commit cf9583a

Please sign in to comment.