From 0c760267313428157d1ffdd4bbbed9135e4b9b6d Mon Sep 17 00:00:00 2001 From: Eduardo Date: Wed, 13 Nov 2024 17:53:26 -0500 Subject: [PATCH] fix linting error --- libraries/utils/src/debugUtils.ts | 2 +- nx.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/utils/src/debugUtils.ts b/libraries/utils/src/debugUtils.ts index 6c80debcfe..4ce97421fd 100644 --- a/libraries/utils/src/debugUtils.ts +++ b/libraries/utils/src/debugUtils.ts @@ -43,7 +43,7 @@ export function getInvalidPath( } } - return { invalidPath: "", values: {} }; + throw new Error("Expected invalid path"); } /** diff --git a/nx.json b/nx.json index 59884c36d4..4235c0198a 100644 --- a/nx.json +++ b/nx.json @@ -10,6 +10,7 @@ "cache": true }, "lint": { + "dependsOn": ["^build:typecheck"], "cache": true }, "build:typecheck": {