We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e269362 commit 2d0ab43Copy full SHA for 2d0ab43
Snaffler/Config.cs
@@ -305,8 +305,12 @@ private static Options ParseImpl(string[] args)
305
if (dirTargetArg.Parsed)
306
{
307
parsedConfig.ShareFinderEnabled = false;
308
- Console.WriteLine(dirTargetArg.Value);
309
- string pathTarget = dirTargetArg.Value.TrimEnd('\\');
+ //Console.WriteLine(dirTargetArg.Value);
+ string pathTarget = dirTargetArg.Value;
310
+ if (dirTargetArg.Value.Length > 4)
311
+ {
312
+ pathTarget = dirTargetArg.Value.TrimEnd('\\');
313
+ }
314
parsedConfig.PathTargets.Add(pathTarget);
315
Console.WriteLine(parsedConfig.PathTargets[0]);
316
Mq.Degub("Disabled finding shares.");
0 commit comments