From 80ef72a3e1f757f48942abe3895481a6b8141730 Mon Sep 17 00:00:00 2001 From: Alexander Abroskin Date: Sat, 16 Nov 2019 11:56:04 +0300 Subject: [PATCH] update pty repo to go modules --- cmd/run.go | 2 +- go.mod | 1 + go.sum | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/run.go b/cmd/run.go index 5def3780..8b488ce3 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -21,7 +21,7 @@ import ( arrop "github.com/adam-hanna/arrayOperations" "github.com/gobwas/glob" - "github.com/kr/pty" + "github.com/creack/pty" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/go.mod b/go.mod index 7bb442ec..669f14a7 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/Arkweid/lefthook require ( github.com/Arkweid/hookah v0.2.3 // indirect github.com/adam-hanna/arrayOperations v0.2.5 + github.com/creack/pty v1.1.9 github.com/gobwas/glob v0.2.3 github.com/kr/pty v1.1.5 github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e diff --git a/go.sum b/go.sum index 6980a84f..961568ed 100644 --- a/go.sum +++ b/go.sum @@ -6,6 +6,8 @@ github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5 github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/creack/pty v1.1.9 h1:uDmaGzcdjhF4i/plgjmEsriH11Y0o7RKapEf/LDaM3w= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=