olivernn / lunr.js

A bit like Solr, but much smaller and not as bright
http://lunrjs.com
MIT License
8.96k stars 548 forks source link

fix the "make server" exception problem #141

Closed weixsong closed 9 years ago

weixsong commented 9 years ago

fix the 'make server' exception problem for unit test cases. Bug link: https://github.com/olivernn/lunr.js/issues/140 Issue number: 140

weixsong commented 9 years ago

in node.js, 'exists' function is moved from module 'path' to module 'file' in recent versions.

olivernn commented 9 years ago

Thanks for this change, it is included in the latest version 0.5.8