Skip to content

Updated message when paket.dependencies cannot be found - #1519

Merged
forki merged 2 commits into
fsprojects:masterfrom
philcleveland:master
Mar 16, 2016
Merged

forki merged 2 commits into
fsprojects:masterfrom
philcleveland:master

Conversation

@philcleveland

Copy link
Copy Markdown
Contributor

The new message would look like:

"Could not find 'paket.dependencies'. To use Paket with this solution, please run 'paket init' first.
If you have already run 'packet.init' then ensure that 'paket.dependencies' is located in the source directory.
Like this:
MySourceDir
.paket
paket.dependencies"

Comment thread src/Paket.Core/PublicAPI.fs Outdated
| null ->
if withError then
failwithf "Could not find '%s'. To use Paket with this solution, please run 'paket init' first." Constants.DependenciesFileName
failwithf "Could not find '%s'. To use Paket with this solution, please run 'paket init' first.\nIf you have already run 'packet.init' then ensure that '%s' is located in the source directory.\nLike this:\nMySourceDir\n .paket\n paket.dependencies" Constants.DependenciesFileName Constants.DependenciesFileName

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's "paket" not "packet". Sorry ;-)

@philcleveland

Copy link
Copy Markdown
Contributor Author

Oops. Spelling habits. Should be fixed now.

forki added a commit that referenced this pull request Mar 16, 2016
Updated message when paket.dependencies cannot be found
@forki
forki merged commit 7bb1718 into fsprojects:master Mar 16, 2016
@forki

forki commented Mar 16, 2016

Copy link
Copy Markdown
Member

thanks

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants