1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

Simplify code. (#88)

This commit is contained in:
wbgbg 2018-06-02 02:37:26 +08:00 committed by Ryan Dahl
parent d582d67c52
commit 6cef88a09a

3
os.go
View file

@ -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,