Removed unwanted newlines at the end of output.
This commit is contained in:
parent
032fa14f61
commit
d0b7f89925
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user