We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4c1819 commit 11c441aCopy full SHA for 11c441a
XbTool/XbTool/Tasks.cs
@@ -430,7 +430,7 @@ private static void GenerateSite(Options options)
430
{
431
if (options.SdPath == null) throw new NullReferenceException("Must specify SD card path.");
432
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.");
+ if (!Directory.Exists(options.SdPath)) throw new DirectoryNotFoundException($"{options.SdPath} is not a valid directory.");
434
435
options.Progress.LogMessage("Reading XB2 directories");
436
var xb2Fs = new Xb2FileSystem(options.SdPath);
0 commit comments