diff --git a/lib/vaporware/compiler/generator.rb b/lib/vaporware/compiler/generator.rb index 525dd2a..2fd562a 100644 --- a/lib/vaporware/compiler/generator.rb +++ b/lib/vaporware/compiler/generator.rb @@ -36,7 +36,7 @@ def call_compiler(output: precompile, compiler: "gcc", compiler_options: ["-O0"] compile_commands = [compiler, *compiler_options, "-o", name, output].compact IO.popen(compile_commands).close - puts File.read(output) if debug + File.delete(output) unless debug nil end