From 3a7e824c927658093c8ef3d99c0cbef26e6c8c5b Mon Sep 17 00:00:00 2001 From: TsT Date: Fri, 29 Mar 2019 17:02:45 +0100 Subject: [PATCH] missing assert_string --- lua/pl/path.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/pl/path.lua b/lua/pl/path.lua index 5979e8e4..48597637 100644 --- a/lua/pl/path.lua +++ b/lua/pl/path.lua @@ -102,6 +102,7 @@ end --- Return the time of last modification -- @string P A file path function path.getmtime(P) + assert_string(1,P) return attrib(P,'modification') end