Fixing broken OSX unit test caused by inability to hide files on unix (#41)

This commit is contained in:
Benjamin Russell
2016-09-09 15:02:45 -07:00
committed by GitHub
parent 8aa3d524fc
commit 9e492f19f9
2 changed files with 0 additions and 7 deletions

View File

@@ -70,10 +70,6 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.DataStorage
// Open the requested file for reading/writing, creating one if it doesn't exist
fileStream = new FileStream(fileName, FileMode.OpenOrCreate, accessMethod, FileShare.ReadWrite,
bufferLength, false /*don't use asyncio*/);
// make file hidden
FileInfo fileInfo = new FileInfo(fileName);
fileInfo.Attributes |= FileAttributes.Hidden;
}
/// <summary>