mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 21:50:00 -05:00
Simplify code. (#88)
This commit is contained in:
parent
d582d67c52
commit
6cef88a09a
1 changed files with 1 additions and 2 deletions
3
os.go
3
os.go
|
@ -143,9 +143,8 @@ func HandleCodeFetch(moduleSpecifier string, containingFile string) (out []byte)
|
||||||
}
|
}
|
||||||
|
|
||||||
var sourceCode = string(sourceCodeBuf)
|
var sourceCode = string(sourceCodeBuf)
|
||||||
var command = Msg_CODE_FETCH_RES
|
|
||||||
res = &Msg{
|
res = &Msg{
|
||||||
Command: command,
|
Command: Msg_CODE_FETCH_RES,
|
||||||
CodeFetchResModuleName: moduleName,
|
CodeFetchResModuleName: moduleName,
|
||||||
CodeFetchResFilename: filename,
|
CodeFetchResFilename: filename,
|
||||||
CodeFetchResSourceCode: sourceCode,
|
CodeFetchResSourceCode: sourceCode,
|
||||||
|
|
Loading…
Add table
Reference in a new issue