Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Moseley <danmose@microsoft.com>
  • Loading branch information
tmds and danmoseley authored Jun 30, 2023
1 parent ca989c1 commit bb11c82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ private static bool IsChildPath(string parentFullPath, string childFullPath)

// We don't need to check for AltDirectorySeparatorChar, full paths are normalized to DirectorySeparatorChar.
static bool IsDirectorySeparatorChar(char c)
=> c == Path.DirectorySeparatorChar;
=> c == Path.DirectorySeparatorChar;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public async Task SetsLastModifiedTimeOnExtractedDirectories()
using TempDirectory root = new TempDirectory();

DirectoryInfo fromDir = Directory.CreateDirectory(Path.Combine(root.Path, "fromdir"));
// Create a hierarcy of directories.
// Create a hierarchy of directories.
var directories = new DirectoryInfo[]
{
Directory.CreateDirectory(Path.Combine(fromDir.FullName, "dir")), // 'fromdir/dir'
Expand Down

0 comments on commit bb11c82

Please sign in to comment.