From 32273acecabfc27fb9afbdfe38ce646b3dc60ce2 Mon Sep 17 00:00:00 2001 From: Gene Johnston Date: Wed, 21 Jun 2023 10:03:33 -0400 Subject: [PATCH] Crash with assignment to make SonarCloud happy. Signed-off-by: Gene Johnston --- packages/cmd/__tests__/__model__/TestCmdHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cmd/__tests__/__model__/TestCmdHandler.ts b/packages/cmd/__tests__/__model__/TestCmdHandler.ts index 074044e4f..1ef300d34 100644 --- a/packages/cmd/__tests__/__model__/TestCmdHandler.ts +++ b/packages/cmd/__tests__/__model__/TestCmdHandler.ts @@ -37,7 +37,7 @@ export default class TestCmdHandler implements ICommandHandler { }); } if (commandParameters.arguments.throwError) { - commandParameters.arguments.this.doesnt.exist; + const someVar = commandParameters.arguments.this.doesnt.exist; } if (commandParameters.arguments.rejectWithMessage) {