Skip to content

Commit 106a882

Browse files
seekshivazth
authored andcommitted
Fix Array.splice transformation
1 parent 678b573 commit 106a882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migration/migration.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ rewrite="Array.forEachWithIndex"
5151

5252
[array-splice]
5353
match="Js.Array2.spliceInPlace(~pos=:[pos], ~remove=:[remove], ~add=:[add])->ignore"
54-
rewrite="Js.Array2.splice(~start=:[pos], ~remove=:[remove], ~insert=:[add])"
54+
rewrite="Array.splice(~start=:[pos], ~remove=:[remove], ~insert=:[add])"
5555

5656
[array-z]
5757
match="Js.Array2"

0 commit comments

Comments
 (0)