summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/AST.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-06-03 22:49:37 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-03 22:50:21 +0200
commitbf8fd4c1931e9bfa72a3c05dec3de72ea95871d3 (patch)
treeacaa6a9ee59e7541438437c32f0ff497e98966c0 /Userland/Libraries/LibJS/AST.cpp
parent43e7181ec8a0152a046db0ad3e2915c4a2f69e70 (diff)
downloadserenity-bf8fd4c1931e9bfa72a3c05dec3de72ea95871d3.zip
Everywhere: Remove accidental '\n' from various outln() invocations
Also convert outln(stderr, ...) to warnln(...)
Diffstat (limited to 'Userland/Libraries/LibJS/AST.cpp')
-rw-r--r--Userland/Libraries/LibJS/AST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/AST.cpp b/Userland/Libraries/LibJS/AST.cpp
index 2499b0adb1..1c2f0809b9 100644
--- a/Userland/Libraries/LibJS/AST.cpp
+++ b/Userland/Libraries/LibJS/AST.cpp
@@ -1158,7 +1158,7 @@ void FunctionNode::dump(int indent, const String& class_name) const
outln("{} '{}'", class_name, name());
if (!m_parameters.is_empty()) {
print_indent(indent + 1);
- outln("(Parameters)\n");
+ outln("(Parameters)");
for (auto& parameter : m_parameters) {
print_indent(indent + 2);