summaryrefslogtreecommitdiff
path: root/plugins/server
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-24 16:17:41 +0300
committerValery Piashchynski <[email protected]>2020-11-24 16:17:41 +0300
commit863193bd7b21bbb2b30cf8960c83260a79d22a8b (patch)
treee6de60c46f04180531f5cd176bda595f13f54c32 /plugins/server
parentbe4aadb5384fd8b97c927f3ef48383dc5b23b345 (diff)
exclude tests from golangci
Diffstat (limited to 'plugins/server')
-rw-r--r--plugins/server/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/server/plugin.go b/plugins/server/plugin.go
index a655a8d2..3411b007 100644
--- a/plugins/server/plugin.go
+++ b/plugins/server/plugin.go
@@ -74,7 +74,7 @@ func (server *Plugin) CmdFactory(env server.Env) (func() *exec.Cmd, error) {
return nil, errors.E(op, errors.Str("first arg in command should be `php`"))
}
return func() *exec.Cmd {
- cmd := exec.Command(cmdArgs[0], cmdArgs[1:]...)
+ cmd := exec.Command(cmdArgs[0], cmdArgs[1:]...) //nolint:gosec
util.IsolateProcess(cmd)
// if user is not empty, and OS is linux or macos