remove tee from test script in package.json (#1197)

tee gobbles up the exit code, which prevents Travis from reporting error statuses to github.
coverage
Agniva De Sarker 2016-12-15 14:09:48 +05:30 committed by Waldir Pimenta
parent 4b464d6a9c
commit f03fc25aae
No known key found for this signature in database
GPG Key ID: C4EE2A26E9D8BF1D
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
"precommit": "npm test", "precommit": "npm test",
"lint-markdown": "markdownlint pages/**/*.md", "lint-markdown": "markdownlint pages/**/*.md",
"lint-tldr": "tldr-lint ./pages", "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" "build-index": "node ./scripts/build-index.js > pages/index.json"
}, },
"repository": "tldr-pages/tldr", "repository": "tldr-pages/tldr",