Commit 79ec1be
Fsdk/Misc: workaround in FsxOnlyArguments
Filter out `preferreduilang` argument from script args in
FsxOnlyArguments() function. This argument started to appear
in .NET 10 when running .fsx scripts, breaking existing
scripts. It was then removed from fsi.CommandLineArgs, but not
from Environment.GetCommandLineArgs(), see [1]. Value
fsi.CommandLineArgs can't be used in the library, as it is
only available in fsx scripts.
[1] dotnet/fsharp#191511 parent 5bca818 commit 79ec1be
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
99 | 114 | | |
100 | 115 | | |
101 | 116 | | |
| |||
0 commit comments