Skip to content

Commit c0d3755

Browse files
Update Makefile
use xargs to align it with other find commands Co-authored-by: Livia Medeiros <[email protected]>
1 parent 7766f9f commit c0d3755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ coverage-build-js: ## Build JavaScript coverage files.
269269
.PHONY: coverage-test
270270
coverage-test: coverage-build ## Run the tests and generate a coverage report.
271271
@if [ -d "out/Release/obj.target" ]; then \
272-
$(FIND) out/$(BUILDTYPE)/obj.target -name "*.gcda" -type f -exec $(RM) {} \; ; \
272+
$(FIND) out/$(BUILDTYPE)/obj.target -name "*.gcda" -type f | xargs $(RM); \
273273
fi
274274
-NODE_V8_COVERAGE=coverage/tmp \
275275
TEST_CI_ARGS="$(TEST_CI_ARGS) --type=coverage" $(MAKE) $(COVTESTS)

0 commit comments

Comments
 (0)