mirror of
https://github.com/opnsense/src.git
synced 2026-02-10 06:15:40 -05:00
Mostly white space, style, and luacheck compliance. Signed-off-by: Jose Luis Duran <jlduran@gmail.com> (cherry picked from commit 504981357aa36365784458cfe8d9e23097bfac7b)
11 lines
222 B
Lua
11 lines
222 B
Lua
#!/usr/libexec/flua
|
|
|
|
local n = require("nuage")
|
|
|
|
print(n.dirname("/my/path/path1"))
|
|
if n.dirname("path") then
|
|
n.err('Expecting nil for n.dirname("path")')
|
|
end
|
|
if n.dirname() then
|
|
n.err("Expecting nil for n.dirname")
|
|
end
|