Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bug in IronPlatformAdaptionLayer

  • Loading branch information...
commit 58251c64b0a848b7bd2c05eb4c97183ce94bb6f2 1 parent 32999b9
@kmees kmees authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/IronSharePoint.Framework/IronPlatformAdaptationLayer.cs
View
2  src/IronSharePoint.Framework/IronPlatformAdaptationLayer.cs
@@ -31,7 +31,7 @@ public IronPlatformAdaptationLayer(IHive hive)
//entries.AddRange(Directory.GetDirectories(path, searchPattern));
entries.AddRange(_hive.GetDirectories(path, searchPattern));
}
- string[] result = entries.Distinct().Select(x => Regex.IsMatch(x, @"^\w:") ? x : "@@" + x).ToArray();
+ string[] result = entries.Distinct().Select(x => Regex.IsMatch(x, @"(^\w:|^\./)") ? x : "./" + x).ToArray();
return result;
}
Please sign in to comment.
Something went wrong with that request. Please try again.