Skip to content

Commit

Permalink
0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
victorteokw committed Feb 7, 2024
1 parent b701cfa commit 38601b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "teocloud_teo_docs_search_engine"
version = "0.0.4"
version = "0.0.5"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teocloud/teo-docs-search-engine",
"version": "0.0.4",
"version": "0.0.5",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static INDEX: Lazy<Index> = Lazy::new(|| {
let path = current_dir().unwrap();
let tmp_dir = path.join(".fulltextcache");
if tmp_dir.exists() {
fs::remove_dir(&tmp_dir).unwrap();
fs::remove_dir_all(&tmp_dir).unwrap();
}
fs::create_dir(&tmp_dir).unwrap();
let index = Index::create_in_dir(&tmp_dir, SCHEMA.clone()).unwrap();
Expand Down

0 comments on commit 38601b1

Please sign in to comment.