changeset 1431:f3a417074cea

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 01 Dec 2019 18:41:51 -0700
parents 103d0ce70385
children d7644b21b128
files src/luan/modules/lucene/Lucene.luan
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
diff -r 103d0ce70385 -r f3a417074cea src/luan/modules/lucene/Lucene.luan
--- a/src/luan/modules/lucene/Lucene.luan	Sat Nov 30 21:32:14 2019 -0700
+++ b/src/luan/modules/lucene/Lucene.luan	Sun Dec 01 18:41:51 2019 -0700
@@ -143,7 +143,7 @@
 			local options = {dir=dir.parent()}
 			for _, file_name in ipairs(file_names) do
 				local cmd = "zip "..zip_path.." "..dir_name.."/"..file_name
-				Io.uri("os:"..cmd,options).read_text()
+				uri("os:"..cmd,options).read_text()
 			end
 		end )
 	end
@@ -156,7 +156,7 @@
 			index.zip(before_restore)
 			java_index.close()
 			lucene_dir.delete()
-			Io.uri("os:unzip "..zip_file.canonical().to_string(),{dir=lucene_dir.parent()}).read_text()
+			uri("os:unzip "..zip_file.canonical().to_string(),{dir=lucene_dir.parent()}).read_text()
 			java_index.reopen()
 		end )
 	end