Skip to content

Commit

Permalink
Fix #81 fall through from legacy to modern resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
doctorrustynelson committed Oct 4, 2015
1 parent c90a09b commit fa31334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/yearn-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ core.determineYearningPath = function( desired, parent ){
module_location = path.join( module_location, desired.file );
}

return module_location;
if( module_location !== null )
return module_location;
}


Expand Down

0 comments on commit fa31334

Please sign in to comment.