jasonpet closed pull request #44: print sentinels in new line for php 7.2
URL: https://github.com/apache/incubator-openwhisk-runtime-php/pull/44
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/core/php7.2Action/router.php b/core/php7.2Action/router.php
index 6346800..c3ada90 100644
--- a/core/php7.2Action/router.php
+++ b/core/php7.2Action/router.php
@@ -291,8 +291,8 @@ function unzipString(string $b64Data, $dir): void
 function writeSentinels() : void
 {
     // write out sentinels as we've finished all log output
-    writeTo("php://stderr", "XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX");
-    writeTo("php://stdout", "XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX");
+    writeTo("php://stderr", "\nXXX_THE_END_OF_A_WHISK_ACTIVATION_XXX");
+    writeTo("php://stdout", "\nXXX_THE_END_OF_A_WHISK_ACTIVATION_XXX");
 }
 
 /**


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to