From 90e341373f59cf5163febf096e01c481f05ecce3 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Thu, 10 Nov 2022 10:04:09 -0600 Subject: [PATCH] try git restore --- lib/antora/extensions/inject-collector-config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/antora/extensions/inject-collector-config.js b/lib/antora/extensions/inject-collector-config.js index 2591e6f2..7be04adc 100644 --- a/lib/antora/extensions/inject-collector-config.js +++ b/lib/antora/extensions/inject-collector-config.js @@ -17,11 +17,11 @@ module.exports.register = function () { } }, { run: { - command: `git clean -dfx` + command: `git restore .` } }, { run: { - command: `${BASE_COMMAND} "-Dorg.gradle.jvmargs=${JVM_ARGS}" ${TASK_NAME} --stacktrace --no-build-cache --no-configuration-cache`, + command: `${BASE_COMMAND} "-Dorg.gradle.jvmargs=${JVM_ARGS}" ${TASK_NAME} --stacktrace --no-build-cache --no-configuration-cache --no-daemon`, local: true, }, scan: {