Skip to content

Commit

Permalink
[fix] Correct function name
Browse files Browse the repository at this point in the history
Trying to stop unexisting process would throw because it was trying to
call function `forever.findByUid` which didn't exist.
  • Loading branch information
mmalecki committed May 4, 2012
1 parent f3b119b commit 49c2c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever.js
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ forever.findByScript = function (script, processes) {
// #### @processes {Array} Set of processes to find in.
// Finds the process with the specified uid.
//
forever.findByScript = function (script, processes) {
forever.findByUid = function (script, processes) {
return !processes
? null
: processes.filter(function (p) {
Expand Down

0 comments on commit 49c2c47

Please sign in to comment.