Skip to content

Commit

Permalink
paket config should be able to run everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
pauxus committed Jul 1, 2016
1 parent 0913f63 commit a6b73f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Paket/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ let config (results : ParseResults<_>) =
let source = args.Item 0
let username, password = results.GetResult (<@ ConfigArgs.Username @>, ""), results.GetResult (<@ ConfigArgs.Password @>, "")

Dependencies.Locate().AddCredentials(source, username, password)
Dependencies(".").AddCredentials(source, username, password)
| _, true ->
let args = results.GetResults <@ ConfigArgs.AddToken @>
let source, token = args.Item 0
Dependencies.Locate().AddToken(source, token)
Dependencies(".").AddToken(source, token)
| _ -> ()

let validateAutoRestore (results : ParseResults<_>) =
Expand Down

0 comments on commit a6b73f4

Please sign in to comment.