From ec36ed40a7eb5ad5575ffd4c45a6214bada23c50 Mon Sep 17 00:00:00 2001 From: Alex Levinson Date: Mon, 26 Feb 2018 21:50:43 -0800 Subject: [PATCH] fixing windows bug --- debugger/session.go | 2 -- debugger/session_windows.go | 20 -------------------- 2 files changed, 22 deletions(-) delete mode 100644 debugger/session_windows.go diff --git a/debugger/session.go b/debugger/session.go index 6ad924d..fa736a6 100644 --- a/debugger/session.go +++ b/debugger/session.go @@ -1,5 +1,3 @@ -// +build !windows - package debugger import ( diff --git a/debugger/session_windows.go b/debugger/session_windows.go deleted file mode 100644 index 0a5c7c5..0000000 --- a/debugger/session_windows.go +++ /dev/null @@ -1,20 +0,0 @@ -// +build windows - -package debugger - -import ( - "github.com/robertkrimen/otto" -) - -func (e *Engine) DebugConsole(call otto.FunctionCall) otto.Value { - e.InteractiveSession() - return otto.TrueValue() -} - -func (e *Engine) SessionExecutor(in string) { - return -} - -func (e *Engine) InteractiveSession() { - e.LogErrorf("Genesis REPL is not available on Windows.") -}