From 70ac2848949b2a290f8284201286c4eab5ba37aa Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Tue, 1 Sep 2020 20:53:05 -0700 Subject: [PATCH] Bugfix for wasm builds --- terminal_js.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/terminal_js.go b/terminal_js.go index f229698..0d1092c 100644 --- a/terminal_js.go +++ b/terminal_js.go @@ -3,6 +3,4 @@ package log // WASM builds don't have a terminal to query so interactive=false for plain // text logs to the browser console. -func init() { - interactive = false -} +var interactive = false