Skip to content

Commit

Permalink
fail simplify when strict mode detected - references #420
Browse files Browse the repository at this point in the history
  • Loading branch information
theimowski committed Dec 9, 2014
1 parent 2381e73 commit 82a5196
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 82a5196

Please sign in to comment.