Skip to content

Commit

Permalink
Merge pull request #601 from cdrnet/issue-600
Browse files Browse the repository at this point in the history
Fix for #600 - paket.version file not generated
  • Loading branch information
forki committed Feb 13, 2015
2 parents 0b33880 + 1ec50bb commit f369b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Paket.Core/RemoteDownload.fs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ let DownloadSourceFiles(rootPath, sourceFiles:ModuleResolver.ResolvedSourceFile
})
|> Async.Parallel

if not <| File.ReadAllText(versionFile.FullName).Contains(version)
if not <| versionFile.Exists && File.ReadAllText(versionFile.FullName).Contains(version)
then File.AppendAllLines(versionFile.FullName, [version])
})
|> Async.Parallel

0 comments on commit f369b02

Please sign in to comment.