Skip to content

Commit

Permalink
Merge branch 'dont_run_simplify_in_strict_mode' of https://github.com…
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Dec 9, 2014
2 parents f20fdd9 + 82a5196 commit 6b1e234
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Paket.Core/Simplifier.fs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ let Simplify (dependenciesFileName,interactive) =
if not <| File.Exists dependenciesFileName then
failwithf "%s file not found." dependenciesFileName
let depFile = DependenciesFile.ReadFromFile dependenciesFileName
if depFile.Options.Strict then
failwith "Strict mode detected. Will not attempt to simplify dependencies."
let lockFilePath = depFile.FindLockfile()
if not <| File.Exists(lockFilePath.FullName) then
failwith "lock file not found. Create lock file by running paket install."
Expand Down

0 comments on commit 6b1e234

Please sign in to comment.