Commit 6143829
[xa-prep-tasks] fix bad Array.Copy() call (#722)
On Windows, `Array.Copy()` will throw an `ArgumentException` for various Git
MSBuild tasks. Turns out the call is using the wrong variable: the
string instead of the array. I am not sure why this works on macOS, I
suspect Mono isn't validating input the same way as Windows and it
_happens_ to work.1 parent c04c952 commit 6143829
File tree
1 file changed
+1
-1
lines changed- build-tools/xa-prep-tasks/Xamarin.Android.BuildTools.PrepTasks
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments