From 7ee03fed22bfb6dcd8bd72aefa2312d0cf99cc2a Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 22 Mar 2019 18:44:34 +0100 Subject: [PATCH] build: don't format api golden files (#15568) As discussed a while ago, we should be formatting the API golden files, because the task that checks them verifies that the files are exactly the same and the formatting throws it off. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f1179830651..2bb12e4f8d5 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "publish-release": "ts-node --project tools/release/ tools/release/publish-release.ts", "check-release-output": "ts-node --project tools/release tools/release/check-release-output.ts", "preinstall": "node ./tools/npm/check-npm.js", - "format": "git-clang-format" + "format": "git-clang-format HEAD $(git diff HEAD --name-only | grep -v \"\\.d\\.ts\")" }, "version": "7.3.5", "requiredAngularVersion": ">=7.0.0",