Skip to content

Commit f03fadc

Browse files
committed
Rename properties
1 parent 322875a commit f03fadc

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Sanchez.Processing/Models/RenderOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

Sanchez.Processing/Services/SatelliteRegistry.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

Sanchez/Services/OptionsParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)