Skip to content

Instantly share code, notes, and snippets.

@deepal
Created July 16, 2022 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deepal/9955ea3a92f6096b6d322f64f59d592c to your computer and use it in GitHub Desktop.
Save deepal/9955ea3a92f6096b6d322f64f59d592c to your computer and use it in GitHub Desktop.
local check_env = require "lib.check_env"
local sum = require "lib.sum"
local app = {}
app.run = function ()
if check_env() == true then
return string.format("Result of 10 + 20 is %s", sum(10, 20))
else
return nil
end
end
return app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment