diff options
| author | ruki <[email protected]> | 2022-10-07 00:54:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-10-07 00:54:06 +0800 |
| commit | 647616f7eede6ba20ddbe40dc500fd611de4d635 (patch) | |
| tree | aa41c25a5499d67d012cd2ff05c02ffd63e3df27 | |
| parent | b4e1fca9c48a5dbfc4d0593edd4c49d82d59af60 (diff) | |
remove some deprecated codes
| -rw-r--r-- | xmake/core/project/project.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index e47463a89..0a227d016 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -501,15 +501,6 @@ function project._load_requires() instance._INFO = { __requirestr = requirestr, __extrainfo = extrainfo } end - -- @deprecated discard scripts in extrainfo, we need not it now (e.g. on_load ..) - if extrainfo then - for k, v in pairs(extrainfo) do - if type(v) == "function" then - extrainfo[k] = nil - end - end - end - -- add require info requires[alias or packagename] = instance end |
