liquid_feedback_frontend

view env/lf4rcs/get_config.lua @ 1641:ab837b075cf7

Fixed mldap_get_named_number_arg to not leave any element on the Lua stack (should not have had any effect anyway but is now consistent to documentation)
author jbe
date Tue Feb 09 17:44:47 2021 +0100 (2021-02-09)
parents 30523f31b186
children
line source
1 function lf4rcs.get_config(unit)
2 if not unit.external_reference then
3 error("Unit is not configured for lf4rcs")
4 end
5 local repository, path, url = string.match(unit.external_reference, "([^ ]+) ([^ ]+) (.*)")
6 return repository, path, url
7 end

Impressum / About Us