diff options
| author | ruki <[email protected]> | 2026-02-13 00:48:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-02-13 00:48:25 +0800 |
| commit | 5b12d4c7d69e7152e0650da25bf81ac46b18d2f2 (patch) | |
| tree | 0bfe1939a3319142d99db60f56f7ccc25f26df3d /xmake/modules | |
| parent | 738cd3892cedd30f2fc5291dba8de21e50fbf38f (diff) | |
fix some typos
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/private/action/require/impl/repository.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 7cd26e55f..4e2d70e5f 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -912,7 +912,7 @@ function _load_package(packagename, requireinfo, opt) end end - -- strip trailng ~tag, e.g. zlib~debug + -- strip trailing ~tag, e.g. zlib~debug local displayname if packagename:find('~', 1, true) then displayname = packagename diff --git a/xmake/modules/private/action/require/impl/repository.lua b/xmake/modules/private/action/require/impl/repository.lua index c118284d2..ba0c9205f 100644 --- a/xmake/modules/private/action/require/impl/repository.lua +++ b/xmake/modules/private/action/require/impl/repository.lua @@ -153,7 +153,7 @@ end -- get package directory from repositories function packagedir(packagename, opt) - -- strip trailng ~tag, e.g. zlib~debug + -- strip trailing ~tag, e.g. zlib~debug opt = opt or {} packagename = packagename:lower() if packagename:find('~', 1, true) then |
