Skip to content

Commit

Permalink
fix(crash): fix crash caused by previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
geraintwhite committed Feb 15, 2016
1 parent 7e8928a commit cbd717a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ BuildManager.prototype.error = function (res, code, error) {
BuildManager.prototype.hook = function (req, res) {
var self = this;

if (req.query.secret) {
if (req.query && req.query.secret) {
req.headers.url_secret = req.query.secret;
}

Expand Down

0 comments on commit cbd717a

Please sign in to comment.