File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public sealed record RenderOptions
6969 /// <summary>
7070 /// Optional path to image path configuration.
7171 /// </summary>
72- public string ? ImagePaths { get ; set ; }
72+ public string ? ImageRootPaths { get ; set ; }
7373
7474 /// <summary>
7575 /// If no underlay should be rendered.
Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ private async Task InitializeImagePathsAsync()
5454 {
5555 ArgumentNullException . ThrowIfNull ( _definitions ) ;
5656
57- if ( options . ImagePaths == null ) return ;
57+ if ( options . ImageRootPaths == null ) return ;
5858
59- logger . LogInformation ( "Initialising image paths from {ImagePaths}" , options . ImagePaths ) ;
60- var json = await File . ReadAllTextAsync ( options . ImagePaths ) ;
59+ logger . LogInformation ( "Initialising root image paths from {ImagePaths}" , options . ImageRootPaths ) ;
60+ var json = await File . ReadAllTextAsync ( options . ImageRootPaths ) ;
6161
6262 var paths = JsonConvert . DeserializeObject < List < ImagePathConfiguration > > ( json ) ! ;
6363
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ private static RenderOptions ProcessBaseOptions(CommandLineOptions options)
6969
7070 if ( options . UnderlayPath != null ) renderOptions . UnderlayPath = options . UnderlayPath ;
7171 if ( options . DefinitionsPath != null ) renderOptions . DefinitionsPath = options . DefinitionsPath ;
72- if ( options . ImageRootPaths != null ) renderOptions . ImagePaths = options . ImageRootPaths ;
72+ if ( options . ImageRootPaths != null ) renderOptions . ImageRootPaths = options . ImageRootPaths ;
7373
7474 SetOverlayOptions ( options , renderOptions ) ;
7575
You can’t perform that action at this time.
0 commit comments