mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 21:10:36 +00:00
17 lines
307 B
Text
17 lines
307 B
Text
--!nocheck
|
|
--!nolint UnknownGlobal
|
|
|
|
local _, err = pcall(function()
|
|
local file = readFile("Cargo.toml")
|
|
if file ~= nil then
|
|
print("Cargo.toml found!")
|
|
print("Contents:")
|
|
print(file)
|
|
else
|
|
print("Cargo.toml not found!")
|
|
end
|
|
end)
|
|
|
|
if err ~= nil then
|
|
print("Error while reading file: " .. err)
|
|
end
|