Skip to content

Commit

Permalink
missing assert_string
Browse files Browse the repository at this point in the history
  • Loading branch information
tst2005 authored and Tieske committed May 7, 2019
1 parent 8239049 commit 42f18f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/pl/path.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 42f18f0

Please sign in to comment.