diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2024-08-11 01:27:46 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-08-11 01:27:46 -0300 |
| commit | 6005609164f6611dba40bad23db71fb3b7a3747e (patch) | |
| tree | 21319648e7cf3de76649e848d7c721e70da5cb9d | |
| parent | f2dea661a7a0b42d122f31a49f7b22d10b9b5d2a (diff) | |
| download | luarocks-lua-to-teal-migration-test.tar.gz luarocks-lua-to-teal-migration-test.tar.bz2 luarocks-lua-to-teal-migration-test.zip | |
| -rw-r--r-- | src/luarocks/deplocks.lua | 2 | ||||
| -rw-r--r-- | src/luarocks/deplocks.tl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/deplocks.lua b/src/luarocks/deplocks.lua index 1f6b4c82..9ad7fe7a 100644 --- a/src/luarocks/deplocks.lua +++ b/src/luarocks/deplocks.lua | |||
| @@ -78,7 +78,7 @@ function deplocks.get(depskey, name) | |||
| 78 | return nil | 78 | return nil |
| 79 | end | 79 | end |
| 80 | 80 | ||
| 81 | return deptable[name] | 81 | return dk[name] |
| 82 | end | 82 | end |
| 83 | 83 | ||
| 84 | function deplocks.write_file() | 84 | function deplocks.write_file() |
diff --git a/src/luarocks/deplocks.tl b/src/luarocks/deplocks.tl index d9d176f1..2b5b0705 100644 --- a/src/luarocks/deplocks.tl +++ b/src/luarocks/deplocks.tl | |||
| @@ -79,7 +79,7 @@ function deplocks.get(depskey: string, name: string): string | number | boolean | |||
| 79 | return nil | 79 | return nil |
| 80 | end | 80 | end |
| 81 | 81 | ||
| 82 | return deptable[name] | 82 | return dk[name] |
| 83 | end | 83 | end |
| 84 | 84 | ||
| 85 | function deplocks.write_file(): boolean, string | 85 | function deplocks.write_file(): boolean, string |
