Blob Blame History Raw
From 1b868f961dd03a54f62e7a50deed94a9664621f4 Mon Sep 17 00:00:00 2001
From: Dmitry Smirnov <onlyjob@raid6.com.au>
Date: Wed, 4 Jul 2018 06:15:51 +0000
Subject: [PATCH] Remove kardianos/osext.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 panicwrap_test.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/panicwrap_test.go b/panicwrap_test.go
index c156d05..4b71fad 100644
--- a/panicwrap_test.go
+++ b/panicwrap_test.go
@@ -10,7 +10,6 @@ import (

 	"github.com/bitly/go-simplejson"
 	"github.com/bugsnag/bugsnag-go/sessions"
-	"github.com/kardianos/osext"
 )

 // Test the panic handler by launching a new process which runs the init()
@@ -85,7 +84,7 @@ func TestPanicHandlerUnhandledPanic(t *t
 }

 func startPanickingProcess(t *testing.T, variant string, endpoint string) {
-	exePath, err := osext.Executable()
+	exePath, err := os.Executable()
 	if err != nil {
 		t.Fatal(err)
 	}
--
2.21.0