From ce98156177521d60b130f596541e62fc2c0f7d6c Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Mon, 9 Dec 2019 23:22:03 -0800 Subject: [PATCH] internal/jsre: golint fixes --- internal/jsre/jsre.go | 2 +- internal/jsre/pretty.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/jsre/jsre.go b/internal/jsre/jsre.go index 8d614cdbe9..1873bdadd0 100644 --- a/internal/jsre/jsre.go +++ b/internal/jsre/jsre.go @@ -35,7 +35,7 @@ var ( // BignumberJs specifies bignumber.js BignumberJs = deps.MustAsset("bignumber.js") // Web3Js specifies web3.js - Web3Js = deps.MustAsset("web3.js") + Web3Js = deps.MustAsset("web3.js") ) /* diff --git a/internal/jsre/pretty.go b/internal/jsre/pretty.go index 552965d5c8..27bc3a87cc 100644 --- a/internal/jsre/pretty.go +++ b/internal/jsre/pretty.go @@ -36,13 +36,13 @@ var ( // FunctionColor specifies what color to use for functions FunctionColor = color.New(color.FgMagenta).SprintfFunc() // SpecialColor specifies what color to use for special values - SpecialColor = color.New(color.Bold).SprintfFunc() + SpecialColor = color.New(color.Bold).SprintfFunc() // NumberColor specifies what color to use for numbers - NumberColor = color.New(color.FgRed).SprintfFunc() + NumberColor = color.New(color.FgRed).SprintfFunc() // StringColor specifies what color to use for strings - StringColor = color.New(color.FgGreen).SprintfFunc() + StringColor = color.New(color.FgGreen).SprintfFunc() // ErrorColor specifies what color to use for errors - ErrorColor = color.New(color.FgHiRed).SprintfFunc() + ErrorColor = color.New(color.FgHiRed).SprintfFunc() ) // these fields are hidden when printing objects.