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

'npm run posttest' fails when COVERALLS_REPO_TOKEN is unset #91

Closed
farmisen opened this issue May 14, 2016 · 0 comments · Fixed by #248
Closed

'npm run posttest' fails when COVERALLS_REPO_TOKEN is unset #91

farmisen opened this issue May 14, 2016 · 0 comments · Fixed by #248

Comments

@farmisen
Copy link

NP-1B45EDC80F2C:chai-http farmisen$ unset COVERALLS_REPO_TOKEN
NP-1B45EDC80F2C:chai-http farmisen$ npm run posttest

> chai-http@2.0.0 posttest /Users/farmisen/dev/occamz/chai-http
> if [ -z $COVERALLS_REPO_TOKEN ]; then cat coverage/lcov.info | coveralls; fi


/Users/farmisen/dev/occamz/chai-http/node_modules/coveralls/bin/coveralls.js:18
        throw err;
        ^
Bad response: 422 {"message":"Couldn't find a repository matching this job.","error":true}

seems like the bash test for COVERALLS_REPO_TOKEN presence is backward.

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 a pull request may close this issue.

1 participant