From 0d9c7be67120ded23346b15c3b969d215cdb5cae Mon Sep 17 00:00:00 2001 From: Asaf Korem Date: Wed, 22 May 2024 16:48:57 +0300 Subject: [PATCH] fix(build): `detox clean-framework-cache` script. --- detox/local-cli/utils/frameworkUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detox/local-cli/utils/frameworkUtils.js b/detox/local-cli/utils/frameworkUtils.js index f8b6786830..5b82978c87 100644 --- a/detox/local-cli/utils/frameworkUtils.js +++ b/detox/local-cli/utils/frameworkUtils.js @@ -63,7 +63,7 @@ async function clean(framework, xcuitest) { const shouldCleanBoth = !framework && !xcuitest; if (framework || shouldCleanBoth) { - await removeTarget(getXCUITestRunnerDirPath, 'Detox framework'); + await removeTarget(getFrameworkDirPath, 'Detox framework'); } if (xcuitest || shouldCleanBoth) {