File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
src/Uno.Wasm.VersionChecker Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFrameworks >net10.0</TargetFrameworks >
5
+ <TargetFrameworks >net10.0;net9.0 </TargetFrameworks >
6
6
<Nullable >enable</Nullable >
7
7
<RollForward >Major</RollForward >
8
8
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
Original file line number Diff line number Diff line change @@ -355,17 +355,12 @@ private async Task<UnoConfig> GetUnoConfig(Uri uri)
355
355
string ? packagePath = default ;
356
356
string ? mainAssembly = default ;
357
357
string [ ] ? assemblies = default ;
358
+ string ? line = default ;
358
359
var server = response . Headers . Server ? . ToString ( ) ;
359
360
360
- while ( ! reader . EndOfStream )
361
+ while ( ( line = await reader . ReadLineAsync ( ) ) is not null )
361
362
{
362
- var line = await reader . ReadLineAsync ( ) ;
363
- if ( string . IsNullOrWhiteSpace ( line ) )
364
- {
365
- continue ;
366
- }
367
-
368
- var parts = line . Split ( new [ ] { '=' } , 2 ) ;
363
+ var parts = line . Split ( [ '=' ] , 2 ) ;
369
364
if ( parts . Length != 2 )
370
365
{
371
366
continue ;
You can’t perform that action at this time.
0 commit comments