Bug 1613867 - Enable ESLint on testing/xpcshell/moz-http2/ (automatic changes). r=dragana

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D62016

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mark Banner 2020-02-10 09:31:25 +00:00
parent 90a395b2ab
commit 389bc795fe
2 changed files with 669 additions and 601 deletions

View file

@ -1,5 +1,5 @@
function sendBackResponse(evalResult, e) {
const output = { result: evalResult, error: "", errorStack: ""};
const output = { result: evalResult, error: "", errorStack: "" };
if (e) {
output.error = e.toString();
output.errorStack = e.stack;
@ -7,7 +7,7 @@ function sendBackResponse(evalResult, e) {
process.send(output);
}
process.on('message', (msg) => {
process.on("message", msg => {
const code = msg.code;
let evalResult = null;
try {
@ -22,5 +22,5 @@ process.on('message', (msg) => {
sendBackResponse(undefined, e);
return;
}
sendBackResponse(evalResult)
sendBackResponse(evalResult);
});

File diff suppressed because it is too large Load diff