Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newt - Don't display warning on initial install. #132

Merged
merged 2 commits into from Feb 2, 2018

Conversation

ccollins476ad
Copy link
Contributor

newt new proj && cd proj && newt install produced the following warning:

* Warning: failed to read repo "apache-mynewt-core": open /Users/ccollins/proj/repos/apache-mynewt-core: no such file or directory

It isn't surprising that newt failed to read the repo; it hadn't been installed yet!

Now newt only reports a failure to read a repo if the repo has been installed, i.e., if the repo is present in the project.state file.

`newt new proj && cd proj && newt install` produced the following
warning:

```
* Warning: failed to read repo "apache-mynewt-core": open /Users/ccollins/proj/repos/apache-mynewt-core: no such file or directory
```

It isn't surprising that newt failed to read the repo; it hadn't been
installed yet!

Now newt only reports a failure to read a repo if the repo has been
installed, i.e., if the repo is present in the `project.state` file.
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.

None yet

2 participants