Skip to content

Commit

Permalink
Fix for #387, remove file create
Browse files Browse the repository at this point in the history
  • Loading branch information
lefthandedgoat committed Oct 11, 2017
1 parent 96ee2d3 commit 0a3bc9e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/canopy/history.fs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ let path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

let save (results : string list) =
if Directory.Exists(p) = false then Directory.CreateDirectory(p) |> ignore
if File.Exists(path) = false then File.Create(path).Close()
use sw = new StreamWriter(path)
sw.Write (String.concat "|" results)

Expand Down

0 comments on commit 0a3bc9e

Please sign in to comment.