1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-08-24 06:33:51 +02:00

fix github action

This commit is contained in:
Thomas Wilkerling
2025-05-21 15:52:15 +02:00
parent c852a07de3
commit e827cb126f
22 changed files with 23 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
global.self = global;
const env = process.argv[process.argv.length - 1];
const env = process.argv[process.argv.length - 1] === "--exit" ? "" : process.argv[process.argv.length - 1];
import { expect } from "chai";
let FlexSearch = await import(env ? "../dist/" + env + ".js" : "../src/bundle.js");
if(FlexSearch.default) FlexSearch = FlexSearch.default;