Mercurial Hosting > luan
changeset 1571:a23b02693d3b
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 18 Nov 2020 20:44:09 -0700 |
parents | 81288d8b20a2 |
children | 45e42f403fb3 |
files | src/luan/modules/Io.luan |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/luan/modules/Io.luan Wed Nov 18 20:41:49 2020 -0700 +++ b/src/luan/modules/Io.luan Wed Nov 18 20:44:09 2020 -0700 @@ -81,7 +81,7 @@ return string_uri.read_text() end -function Io.relative_file_name(path) +function Io.relative_file_uri_string(path) local f = LuanException.getLuanStackTrace()[2].getFileName() f = uri(f) f.parent or error "source isn't file"