Rename Array import alias in GitManager
- Use `Arr` alias for Effect Array in `GitManager` - Keep pull request sorting logic unchanged
This commit is contained in:
1 parent
d66295d2a3
commit
0d4e8f75a9
1 file changed
+2
-2
@@ -2,7 +2,7 @@ import { randomUUID } from "node:crypto";
|
||||
import { realpathSync } from "node:fs";
|
||||
|
||||
import {
|
||||
Array as EffectArray,
|
||||
Array as Arr,
|
||||
Cache,
|
||||
DateTime,
|
||||
Duration,
|
||||
@@ -888,7 +888,7 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () {
|
||||
}
|
||||
}
|
||||
|
||||
const parsed = EffectArray.sort(parsedByNumber.values(), pullRequestUpdatedAtDescOrder);
|
||||
const parsed = Arr.sort(parsedByNumber.values(), pullRequestUpdatedAtDescOrder);
|
||||
|
||||
const latestOpenPr = parsed.find((pr) => pr.state === "open");
|
||||
if (latestOpenPr) {
|
||||
|
||||
Reference in new issue
Block a user