diff options
| author | ruki <[email protected]> | 2021-08-21 23:10:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-08-21 23:10:14 +0800 |
| commit | ad079f7ffb33b0478e6806be77592ee7a91e1823 (patch) | |
| tree | 66a752f899d74433d37d74b00c088d44c712945a | |
| parent | 38c33512003a92adfc8cba6f50409d9e78df3868 (diff) | |
fix repo
| -rw-r--r-- | xmake/modules/private/action/require/impl/repository.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/repository.lua b/xmake/modules/private/action/require/impl/repository.lua index 4f1e44f27..80a69b41e 100644 --- a/xmake/modules/private/action/require/impl/repository.lua +++ b/xmake/modules/private/action/require/impl/repository.lua @@ -158,7 +158,8 @@ function packagedir(packagename, opt) end end end - packagedirs[cachekey] = foundir or {} + foundir = foundir or {} + packagedirs[cachekey] = foundir end -- save the current commit |
