Fix for save as Json failure (#216)

* Fix exception due to repeat disposal of stream

* Fix off by one index for saving selection

* Fix to overwrite file if file already exists

* Fix test for Json save selection

* Add Json Formatting
This commit is contained in:
Sharon Ravindran
2017-01-18 15:47:44 -08:00
committed by GitHub
parent 8a8d4338f1
commit 31e1422a0e
5 changed files with 6 additions and 7 deletions

View File

@@ -99,7 +99,6 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.DataStorage
return;
}
FileStream.Flush();
FileStream.Dispose();
}
public virtual void Dispose()