Removed unwanted newlines at the end of output.

This commit is contained in:
Patrick Lühne 2017-10-25 17:01:19 +02:00
parent 032fa14f61
commit d0b7f89925
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ int CommandBeautify::run(int argc, char **argv)
auto context = pddl::Context(std::move(tokenizer), logWarning);
context.mode = parserOptions.parsingMode;
auto description = pddl::parseDescription(context);
logger.outputStream() << description << std::endl;
logger.outputStream() << description;
break;
}

View File

@ -108,7 +108,7 @@ int CommandNormalize::run(int argc, char **argv)
context.mode = parserOptions.parsingMode;
auto description = pddl::parseDescription(context);
auto normalizedDescription = pddl::normalize(std::move(description));
logger.outputStream() << normalizedDescription << std::endl;
logger.outputStream() << normalizedDescription;
return EXIT_SUCCESS;
}