summaryrefslogtreecommitdiff
path: root/xmake/plugins/plugin/main.lua
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2022-06-10 12:44:23 +0200
committerGitHub <[email protected]>2022-06-10 12:44:23 +0200
commit91c942ceb9fcfb9c0ca9baa4412b386d8b2fc2f4 (patch)
treeb8ad68c5fd422ac4011e6923a73ff6445d02adaa /xmake/plugins/plugin/main.lua
parent95b9be337bcfd48200e6c8ed938f8205540c8dc4 (diff)
Fix error message when plugin already exists
Diffstat (limited to 'xmake/plugins/plugin/main.lua')
-rw-r--r--xmake/plugins/plugin/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/plugin/main.lua b/xmake/plugins/plugin/main.lua
index fce12d849..915439ae8 100644
--- a/xmake/plugins/plugin/main.lua
+++ b/xmake/plugins/plugin/main.lua
@@ -82,7 +82,7 @@ function _install()
local srcdir = path.directory(filepath)
local name = path.filename(srcdir)
local dstdir = path.join(plugindir, name)
- assert(not os.isdir(dstdir), "plugin(%s) has been installed!", name)
+ assert(not os.isdir(dstdir), "plugin(%s) already exists!", name)
os.vcp(srcdir, dstdir)
cprint(" ${yellow}->${clear} %s", name)
end