File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Uno.UI.RemoteControl.VS Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ internal class GlobalJsonObserver
20
20
private readonly Action < string > _errorAction ;
21
21
private readonly InfoBarFactory _infoBarFactory ;
22
22
private FileSystemWatcher ? _fileWatcher ;
23
- private readonly JsonSerializerOptions _readerOptions = new ( ) { ReadCommentHandling = JsonCommentHandling . Skip } ;
23
+ private readonly JsonSerializerOptions _readerOptions = new ( ) { ReadCommentHandling = JsonCommentHandling . Skip , AllowTrailingCommas = true } ;
24
24
25
25
public GlobalJsonObserver (
26
26
AsyncPackage asyncPackage
@@ -90,7 +90,7 @@ private void ObserveChanges(string? globalJsonPath)
90
90
}
91
91
catch ( Exception ex )
92
92
{
93
- _debugAction ( $ "GlobalJsonObserver: Error reading global.json: { ex . Message } ") ;
93
+ _errorAction ( $ "GlobalJsonObserver: Error reading global.json: { ex . Message } ") ;
94
94
}
95
95
} ;
96
96
You can’t perform that action at this time.
0 commit comments