diff options
Diffstat (limited to 'src/hooks.py')
| -rw-r--r-- | src/hooks.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/hooks.py b/src/hooks.py index 58cc7a0..f1492d7 100644 --- a/src/hooks.py +++ b/src/hooks.py @@ -6,7 +6,7 @@ # By: charles <me@cacharle.xyz> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/09/11 16:10:20 by charles #+# #+# # -# Updated: 2020/10/08 17:32:12 by cacharle ### ########.fr # +# Updated: 2020/10/09 20:27:30 by charles ### ########.fr # # # # ############################################################################ # @@ -106,3 +106,10 @@ def error_eof_to_expected_token(output): "-c: line 1: syntax error: unexpected end of file", "syntax error expected token" ) + + +def linux_discard(output): + if config.PLATFORM == "Linux": + return "DISCARDED BY MINISHELL TEST" + else: + return output |
