mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-26 19:45:54 +03:00
Avoid logging body text
This was meant for debugging and is otherwise pretty noisy
This commit is contained in:
parent
bc01d6cd61
commit
b66095bcff
@ -105,18 +105,6 @@ async function main() {
|
||||
console.log(` ${line}`);
|
||||
});
|
||||
}
|
||||
|
||||
const bodyText = await logged(
|
||||
"getting browser body",
|
||||
body.getText()
|
||||
);
|
||||
|
||||
if (bodyText.length > 0) {
|
||||
console.log("body:");
|
||||
bodyText.split("\n").forEach(line => {
|
||||
console.log(` ${line}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user