Brandon Keepers
89e3310582
Use commander for CLI
2017-03-17 21:04:23 -07:00
Avinash Sridhar
9412b63c95
Merge branch 'master' into dont-crash-on-bad-webhook
2017-03-14 20:53:06 -04:00
Avinash Sridhar
05049822df
Use webhook error message to catch and log error
...
Removed the domain check. Now this fails with the a valid web hook
error but does not crash the server
2017-03-14 20:51:01 -04:00
Brandon Keepers
8295f51de5
Move dotenv loading to bin
2017-03-14 16:58:50 -05:00
Avinash Sridhar
631797e10f
fixing failing tests
...
fixing some of the missing semicolon tests.
Also removed the process.exit(1) from index.js since this should be
handled in a CLI app like `probot.js`
2017-03-14 13:53:47 -04:00
Brandon Keepers
b0445f2439
Merge remote-tracking branch 'origin/master' into sridharavinash-dot-env-load-catch-error
...
* origin/master:
Update all the docs
Debug
More updates to docs
Add context.isBot
Update package name
Edits
Remove old documentation
Add robot.auth
Add plugin docs
WIP: readme
Support loading from script or module
Remove unused fixtures
The shell of a robot
2017-03-14 09:59:59 -05:00
Brandon Keepers
3ee74d50d1
Update syntax
2017-03-14 09:52:26 -05:00
Avinash Sridhar
1e9a717789
Error message without stack on dot-env load
...
`require dotenv-safe` throws a stack trace when it has missing
variables. This PR is an attempt to catch the error and only print the
`error.message` and exit.
2017-03-14 00:14:32 -04:00
Brandon Keepers
ffbee1c16d
The shell of a robot
2017-03-11 15:58:36 -06:00
Brandon Keepers
f1511fcc17
Always load dotenv
2017-03-11 09:17:15 -06:00
Brandon Keepers
966ee288ca
Use dotenv-safe if not in production
2017-03-11 08:20:28 -06:00
Brandon Keepers
c2ec31c425
Move GitHub Integration code to a module
2017-02-26 16:47:52 -06:00
Brandon Keepers
365f16be3f
Rename server.js to index.js
2017-02-24 20:32:00 -06:00