diff options
| author | Jérôme Leclercq <[email protected]> | 2022-06-10 12:44:23 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-10 12:44:23 +0200 |
| commit | 91c942ceb9fcfb9c0ca9baa4412b386d8b2fc2f4 (patch) | |
| tree | b8ad68c5fd422ac4011e6923a73ff6445d02adaa /xmake/plugins/plugin/main.lua | |
| parent | 95b9be337bcfd48200e6c8ed938f8205540c8dc4 (diff) | |
Fix error message when plugin already exists
Diffstat (limited to 'xmake/plugins/plugin/main.lua')
| -rw-r--r-- | xmake/plugins/plugin/main.lua | 2 |
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 |
