Created
July 16, 2022 17:49
-
-
Save deepal/9955ea3a92f6096b6d322f64f59d592c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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