From 91c942ceb9fcfb9c0ca9baa4412b386d8b2fc2f4 Mon Sep 17 00:00:00 2001 From: Jérôme Leclercq Date: Fri, 10 Jun 2022 12:44:23 +0200 Subject: Fix error message when plugin already exists --- xmake/plugins/plugin/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/plugins/plugin') 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 -- cgit v1.3.1