mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-09-29 06:48:59 +02:00
add fixes + install url
This commit is contained in:
2
dist/node/node.js
vendored
2
dist/node/node.js
vendored
@@ -21,7 +21,7 @@ parentPort.on("message", function(data){
|
||||
|
||||
// load extern field configuration
|
||||
let filepath = options["config"];
|
||||
if(filepath[0] !== "/" && filepath[0] !== "\\"){
|
||||
if(filepath && filepath[0] !== "/" && filepath[0] !== "\\"){
|
||||
// current working directory
|
||||
const dir = process.cwd();
|
||||
filepath = join(dir, filepath);
|
||||
|
Reference in New Issue
Block a user