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

Module2 example1 #36

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Module2 example1 #36

wants to merge 8 commits into from

Conversation

DanielGlick
Copy link

No description provided.

Edward Raigosa and others added 8 commits August 13, 2018 07:21
This branch uses docker for it's builds.
lock in version of node to 8.x
Hi Folks, thanks to one of our learners, they reported an issue when running probot-hello in the `Develop locally` section. It was producing the error:
```
Error: The contents of `PRIVATE_KEY` could not be validated. Please check to ensure you have copied the contents of the .pem file correctly.
    at findPrivateKey (/home/node/probot-hello-dev/node_modules/probot/lib/private-key.js:37:15)
```

Turns out that setting PRIVATE_KEY to none no longer resolves to a false statement in probot lib's check for a private key. Instead we can now simply set the environment value to an empty value and have it processed properly in the probot lib to check for no private key and skip that check for local dev.

Apologies if this slowed anyone down.
Removing none to unset PRIVATE_KEY
Adding more phases
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