From 2e674299060738d293a3aa12cdf673182fe0cf05 Mon Sep 17 00:00:00 2001 From: popcorny Date: Tue, 4 Jun 2024 11:48:04 +0800 Subject: [PATCH] Fix: The cli option target is not used in the review mode Signed-off-by: popcorny --- recce/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recce/core.py b/recce/core.py index 3dbd681c..823b0311 100644 --- a/recce/core.py +++ b/recce/core.py @@ -48,7 +48,7 @@ def load(cls, **kwargs): if not state: raise Exception('The state file is required for review mode') context.review_state = state - context.adapter = DbtAdapter.load(artifacts=state.artifacts) + context.adapter = DbtAdapter.load(artifacts=state.artifacts, **kwargs) else: context.adapter = DbtAdapter.load(**kwargs)