diff options
| author | ruki <[email protected]> | 2024-08-14 23:28:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-08-14 23:28:31 +0800 |
| commit | 0a837a0ef2c4ccb80af06b3d3b6f4fac5ae9f5f4 (patch) | |
| tree | 33d8792ef582f406fbaef0cb42b2c2b24e4e78e0 | |
| parent | 80e47b753e0e234e80641ffa6436310d67747f76 (diff) | |
fix lock repo
| -rw-r--r-- | xmake/modules/private/action/require/impl/repository.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/repository.lua b/xmake/modules/private/action/require/impl/repository.lua index 426a15e67..593ae5ebe 100644 --- a/xmake/modules/private/action/require/impl/repository.lua +++ b/xmake/modules/private/action/require/impl/repository.lua @@ -38,7 +38,7 @@ function _get_packagedir_from_locked_repo(packagename, locked_repo) break end end - local reponame = hash.uuid(locked_repo.url):gsub("%-", ""):lower() .. ".lock" + local reponame = hash.uuid(locked_repo.url .. (locked_repo.commit or "")):gsub("%-", ""):lower() .. ".lock" -- get local repodir local repodir_local |
