mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 21:10:36 +00:00
9 lines
306 B
Lua
9 lines
306 B
Lua
local process = require("@lune/process")
|
|
|
|
assert(process.cwd ~= nil, "Process cwd is missing")
|
|
|
|
assert(type(process.cwd) == "string", "Process cwd is not a string")
|
|
|
|
assert(#process.cwd > 0, "Process cwd is an empty string")
|
|
|
|
assert(string.sub(process.cwd, -1) == "/", "Process cwd does not end with '/'")
|