Skip to content

Commit 332a051

Browse files
committed
Remove paths before returning response.
1 parent f944dd6 commit 332a051

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Symfony/src/Codebender/CompilerBundle/Handler/CompilerHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ private function doCompile($compiler_config, &$files, $dir, $CC, $CFLAGS, $CPP,
700700
$final_clang_output = $this->pathRemover ($final_clang_output, $compiler_config);
701701
$resp["message"] = $final_clang_output;
702702
if ($resp["message"] == "")
703-
$resp["message"] = $output;
703+
$resp["message"] = $this->pathRemover ($output, $compiler_config);
704704
return $resp;
705705
}else {
706706
$this->compiler_logger->addInfo($this->logger_id . " - Gcc output: " . json_encode($avr_output));
@@ -709,7 +709,7 @@ private function doCompile($compiler_config, &$files, $dir, $CC, $CFLAGS, $CPP,
709709
$next_clang_output = $this->pathRemover ($next_clang_output, $compiler_config);
710710
$resp["message"] = $next_clang_output;
711711
if ($resp["message"] == "")
712-
$resp["message"] = $output;
712+
$resp["message"] = $this->pathRemover ($output, $compiler_config);
713713
return $resp;
714714
}
715715
}

0 commit comments

Comments
 (0)