Skip to content

Commit

Permalink
Fixed JSHint Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
doctorrustynelson committed Dec 18, 2014
1 parent 152587b commit e28fd7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/shenzi-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function Shenzi( ){
);
} );
return;
};
}

if( next_joule_type === 'm2o' ){
LOGGER.debug( 'About to Start an m2o joule.' );
Expand All @@ -71,10 +71,10 @@ function Shenzi( ){
} else {
job.parallel.splice( index, 1 );
job.aggrigated_result[ input_key ] = result;
if( job.parallel.length == 0 ){
if( job.parallel.length === 0 ){
worker.socket.emit( 'joule', { joule: joule, job_id: job_id, input: job.aggrigated_result, input_key: '' /* TODO */ } );
} else {
// Need to wait for more to complete.
LOGGER.debug( 'Need to wait for more joules to complete.' );
}
}
return;
Expand Down

0 comments on commit e28fd7f

Please sign in to comment.