From f03fc25aae2138e9877433880ef42f0ba3ccc001 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Thu, 15 Dec 2016 14:09:48 +0530 Subject: [PATCH] remove tee from test script in package.json (#1197) tee gobbles up the exit code, which prevents Travis from reporting error statuses to github. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cf27f849f..56950cbb3 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "precommit": "npm test", "lint-markdown": "markdownlint pages/**/*.md", "lint-tldr": "tldr-lint ./pages", - "test": "markdownlint pages/ && tldr-lint ./pages 2>&1 | tee test_result", + "test": "markdownlint pages/ && tldr-lint ./pages > test_result 2>&1", "build-index": "node ./scripts/build-index.js > pages/index.json" }, "repository": "tldr-pages/tldr",