Skip to content
This repository has been archived by the owner on Oct 27, 2019. It is now read-only.

Commit

Permalink
[fix] Wrong namespace for spawn error
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Apr 7, 2012
1 parent 63cdc60 commit d9775e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hookio/spawn.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports.spawn = function (hooks, callback) {
// We should have a better idea of the spawn error,
// is it possible to get into a bad state if we have a failed spawn?
//
self.emit('error::spawn', err);
self.emit('spawn::error', err);
if (callback) {
callback(err);
}
Expand Down

0 comments on commit d9775e6

Please sign in to comment.