From 6cef88a09a8e5ac80018c6e7aa5dd218d11d591d Mon Sep 17 00:00:00 2001 From: wbgbg Date: Sat, 2 Jun 2018 02:37:26 +0800 Subject: [PATCH] Simplify code. (#88) --- os.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/os.go b/os.go index 23d09fc88e..85ca8f0927 100644 --- a/os.go +++ b/os.go @@ -143,9 +143,8 @@ func HandleCodeFetch(moduleSpecifier string, containingFile string) (out []byte) } var sourceCode = string(sourceCodeBuf) - var command = Msg_CODE_FETCH_RES res = &Msg{ - Command: command, + Command: Msg_CODE_FETCH_RES, CodeFetchResModuleName: moduleName, CodeFetchResFilename: filename, CodeFetchResSourceCode: sourceCode,