This commit is contained in:
parent
c620f9dd9b
commit
c300d8bd41
|
@ -24,9 +24,12 @@ outputWS.onmessage = function(e) {
|
||||||
to: CodeMirror.Pos(lint.lineNo, 0),
|
to: CodeMirror.Pos(lint.lineNo, 0),
|
||||||
message: lint.msg, severity: lint.severity});
|
message: lint.msg, severity: lint.severity});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 触发一次 gutter lint
|
||||||
|
CodeMirror.signal(wide.curEditor, "change", wide.curEditor);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
} else if ('go get' === data.cmd || 'go install' === data.cmd) {
|
} else if ('go get' === data.cmd || 'go install' === data.cmd) {
|
||||||
$('#output').text($('#output').text() + data.output);
|
$('#output').text($('#output').text() + data.output);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue