Skip to content

Commit 11c441a

Browse files
committed
Small fix
1 parent f4c1819 commit 11c441a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XbTool/XbTool/Tasks.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ private static void GenerateSite(Options options)
430430
{
431431
if (options.SdPath == null) throw new NullReferenceException("Must specify SD card path.");
432432
if (options.Output == null) throw new NullReferenceException("No output path was specified.");
433-
if (!Directory.Exists(options.Xb2Dir)) throw new DirectoryNotFoundException($"{options.Xb2Dir} is not a valid directory.");
433+
if (!Directory.Exists(options.SdPath)) throw new DirectoryNotFoundException($"{options.SdPath} is not a valid directory.");
434434

435435
options.Progress.LogMessage("Reading XB2 directories");
436436
var xb2Fs = new Xb2FileSystem(options.SdPath);

0 commit comments

Comments
 (0)