summaryrefslogtreecommitdiff
path: root/xmake/plugins/plugin/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-25 00:33:07 +0800
committerruki <[email protected]>2020-09-25 00:33:07 +0800
commit90af4956738036172984f068502624bbc515cae7 (patch)
tree7cd7177becaf98e676ae8eaa478f042e14505d3a /xmake/plugins/plugin/main.lua
parent700f08a7bae11c22295f884610f98b7b99eb1790 (diff)
fix trailing white-space
Diffstat (limited to 'xmake/plugins/plugin/main.lua')
-rw-r--r--xmake/plugins/plugin/main.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmake/plugins/plugin/main.lua b/xmake/plugins/plugin/main.lua
index 60be1200d..5d1a6c102 100644
--- a/xmake/plugins/plugin/main.lua
+++ b/xmake/plugins/plugin/main.lua
@@ -11,7 +11,7 @@
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
---
+--
-- Copyright (C) 2015-2020, TBOOX Open Source Group.
--
-- @author ruki
@@ -28,7 +28,7 @@ import("actions.require.impl.environment", {rootdir = os.programdir()})
-- install plugins
function _install()
- -- enter environment
+ -- enter environment
environment.enter()
-- remove previous plugins if exists
@@ -38,7 +38,7 @@ function _install()
end
-- do install
- try
+ try
{
function ()
@@ -56,7 +56,7 @@ function _install()
-- trace
cprint("${bright}all plugins have been installed in %s!", plugindir)
end,
- catch
+ catch
{
function (errors)
raise(errors)
@@ -64,7 +64,7 @@ function _install()
}
}
- -- leave environment
+ -- leave environment
environment.leave()
end