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

adding check to make sure d exists before trimming, #1086

Merged
merged 1 commit into from
Nov 15, 2016
Merged

adding check to make sure d exists before trimming, #1086

merged 1 commit into from
Nov 15, 2016

Conversation

ducks
Copy link
Contributor

@ducks ducks commented Nov 11, 2016

stops spinner while interactivity initing to keep it from loading over text

fixes #771

stops spinner while interactivity initing to keep it from loading over text
@coveralls
Copy link

coveralls commented Nov 11, 2016

Coverage Status

Coverage decreased (-0.02%) to 74.919% when pulling 89ce2bd on rjgoldsborough:t2-init-i-throws-error-771 into 6882ebc on tessel:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 74.919% when pulling 89ce2bd on rjgoldsborough:t2-init-i-throws-error-771 into 6882ebc on tessel:master.

@@ -49,6 +49,9 @@ exportables.buildJSON = (npmConfig) => {
promzardConfig = path.join(resources, 'init-config.js');
}

// Stop spinner from being in our way while entering package.json data
log.spinner.stop();
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice

@rwaldron
Copy link
Contributor

Since the init operations still have relatively low coverage, I don't think the coverage decrease should block this. There is also no clear way to add a simple test for this (which is actually due to the previous statement).

@rwaldron rwaldron merged commit 62c100f into tessel:master Nov 15, 2016
@ducks
Copy link
Contributor Author

ducks commented Nov 15, 2016

Sweet. Thank you.

I thought I left a comment asking if there was any test to add but I guess I never added it.

Thanks again.

@rwaldron
Copy link
Contributor

No worries, I'm going to write some basic tests for this and push them up shortly. This way you can observe and have a good idea for next time :)

@rwaldron
Copy link
Contributor

Oh, actually... I have a better idea. I will add basic tests that should've existed and then you can make a PR that adds assertions for the changes!

@ducks
Copy link
Contributor Author

ducks commented Nov 15, 2016

sounds great to me :)

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.

t2 init -i will throw an error
3 participants