diff --git a/src/step9_try.cpp b/src/step9_try.cpp index 20fbb4f..c15b9a6 100644 --- a/src/step9_try.cpp +++ b/src/step9_try.cpp @@ -155,7 +155,10 @@ auto main(int argc, char* argv[]) -> int if (pretty_print) { print("\033[0m"); } - print("{}\n", rep(input, blaze::s_outer_env)); + std::string output = rep(input, blaze::s_outer_env); + if (output.length() > 0) { + print("{}\n", output); + } } if (pretty_print) {