Skip to content

Commit

Permalink
whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
snamilikonda committed Nov 21, 2024
1 parent c989629 commit 963078b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/Microsoft.PowerApps.TestEngine/System/FileSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public bool IsValidFilePath(string filePath)

//just get this to check if its a valid file path, if its not then it throws
var g = new FileInfo(fullPath).IsReadOnly;

string fileName = Path.GetFileName(filePath);
if (fileName.IndexOfAny(Path.GetInvalidFileNameChars()) >= 0)
return false;
Expand Down
1 change: 0 additions & 1 deletion src/Microsoft.PowerApps.TestEngine/System/IFileSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,5 @@ public interface IFileSystem
/// <param name="filePath">Path to check</param>
/// <returns>True if it is permitted</returns>
public bool IsWritePermittedFilePath(string filePath);

}
}
2 changes: 1 addition & 1 deletion src/Microsoft.PowerApps.TestEngine/TestEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public async Task<string> RunTestAsync(FileInfo testConfigFile, string environme
{
throw new ArgumentNullException(nameof(outputDirectory));
}
else
else
{
if (!new Uri(_fileSystem.GetDefaultRootTestEngine()).IsBaseOf(new Uri(outputDirectory.FullName)))
{
Expand Down

0 comments on commit 963078b

Please sign in to comment.