mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +08:00
bump easyssh package.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
88b5394dac
commit
ceec42efdd
12
vendor/github.com/appleboy/easyssh-proxy/Makefile
generated
vendored
12
vendor/github.com/appleboy/easyssh-proxy/Makefile
generated
vendored
@ -1,8 +1,7 @@
|
|||||||
.PHONY: test drone-ssh fmt vet errcheck lint install update coverage embedmd
|
.PHONY: test drone-ssh fmt vet errcheck lint install update coverage embedmd
|
||||||
|
|
||||||
GOFMT ?= gofmt "-s"
|
GOFMT ?= gofmt "-s"
|
||||||
|
GOFILES := $(shell find . -name "*.go" -type f -not -path "./vendor/*")
|
||||||
GOFILES := find . -name "*.go" -type f -not -path "./vendor/*"
|
|
||||||
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
|
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
all: install lint
|
all: install lint
|
||||||
@ -14,16 +13,17 @@ install:
|
|||||||
govendor sync
|
govendor sync
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
$(GOFILES) | xargs $(GOFMT) -w
|
$(GOFMT) -w $(GOFILES)
|
||||||
|
|
||||||
.PHONY: fmt-check
|
.PHONY: fmt-check
|
||||||
fmt-check:
|
fmt-check:
|
||||||
# get all go files and run go fmt on them
|
# get all go files and run go fmt on them
|
||||||
@files=$$($(GOFILES) | xargs $(GOFMT) -l); if [ -n "$$files" ]; then \
|
@diff=$$($(GOFMT) -d $(GOFILES)); \
|
||||||
|
if [ -n "$$diff" ]; then \
|
||||||
echo "Please run 'make fmt' and commit the result:"; \
|
echo "Please run 'make fmt' and commit the result:"; \
|
||||||
echo "$${files}"; \
|
echo "$${diff}"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
go vet $(PACKAGES)
|
go vet $(PACKAGES)
|
||||||
|
3
vendor/github.com/appleboy/easyssh-proxy/easyssh.go
generated
vendored
3
vendor/github.com/appleboy/easyssh-proxy/easyssh.go
generated
vendored
@ -210,12 +210,9 @@ func (ssh_conf *MakeConfig) Stream(command string, timeout int) (stdout chan str
|
|||||||
|
|
||||||
select {
|
select {
|
||||||
case <-res:
|
case <-res:
|
||||||
stdoutChan <- ""
|
|
||||||
stderrChan <- ""
|
|
||||||
errChan <- session.Wait()
|
errChan <- session.Wait()
|
||||||
done <- true
|
done <- true
|
||||||
case <-timeoutChan:
|
case <-timeoutChan:
|
||||||
stdoutChan <- ""
|
|
||||||
stderrChan <- "Run Command Timeout!"
|
stderrChan <- "Run Command Timeout!"
|
||||||
errChan <- nil
|
errChan <- nil
|
||||||
done <- false
|
done <- false
|
||||||
|
8
vendor/vendor.json
vendored
8
vendor/vendor.json
vendored
@ -3,12 +3,10 @@
|
|||||||
"ignore": "test",
|
"ignore": "test",
|
||||||
"package": [
|
"package": [
|
||||||
{
|
{
|
||||||
"checksumSHA1": "/Sb+z/BicEjhh6Ib7Tawr64BNHA=",
|
"checksumSHA1": "fmzCBkzzkd3KK/yfeMR8IYApkIE=",
|
||||||
"path": "github.com/appleboy/easyssh-proxy",
|
"path": "github.com/appleboy/easyssh-proxy",
|
||||||
"revision": "cf4f2bae639f692dbc7b3f852be35125a1a645e3",
|
"revision": "aa0e30613aeb5cca179bd3982da8d2e06a1bb2a4",
|
||||||
"revisionTime": "2017-05-09T01:16:07Z",
|
"revisionTime": "2017-05-10T13:33:00Z"
|
||||||
"version": "1.1.3",
|
|
||||||
"versionExact": "1.1.3"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "dvabztWVQX8f6oMLRyv4dLH+TGY=",
|
"checksumSHA1": "dvabztWVQX8f6oMLRyv4dLH+TGY=",
|
||||||
|
Loading…
Reference in New Issue
Block a user