Skip to content

Commit a3760e5

Browse files
committed
MC-10833: Resolve TypeScript errors
- Split static:log and errors:log commands and log outputs
1 parent 403131d commit a3760e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"description": "PageBuilder module",
55
"scripts": {
66
"test:static": "tslint --project tsconfig.json",
7-
"test:static:log": "npm run ts:errors 2>&1 | tee tsc-errors.txt && npm run test:static 2>&1 | tee tslint-errors.txt",
7+
"test:static:log": "set -o pipefail; npm run test:static | tee tslint-errors.txt",
88
"ts:errors": "tsc --noEmit",
9+
"test:errors:log": "set -o pipefail; npm run ts:errors | tee tsc-errors.txt",
910
"ts:errors:watch": "npm run ts:errors -- -watch",
1011
"ts:lint": "tslint --fix --project .",
1112
"ts:defs": "node ./dev/dts-generator.js",

0 commit comments

Comments
 (0)