[Rpm-maint] [rpm-software-management/rpm] Restore scriptlet arguments passed as numbers to Lua scriptlets (PR #1831)
Michael Schroeder
notifications at github.com
Tue Nov 23 09:12:28 UTC 2021
Just a thought: we could use
```
arg[2] = (math.tointeger || tonumber)(arg[2]);
```
to convert into an integer instead of a float number. (Is `math` always available? If not, we could add `rpm.tointeger`.)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1831#issuecomment-976307863
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211123/e71bb7fe/attachment.html>
More information about the Rpm-maint
mailing list