Skip to content

Commit

Permalink
🌱 : Revert Fix make remove-spaces for GNU system" (kubernetes-sigs#…
Browse files Browse the repository at this point in the history
…4331)

Revert "🌱 : Fix `make remove-spaces` for GNU system (kubernetes-sigs#4330)"

This reverts commit d8f4da2.
  • Loading branch information
camilamacedo86 authored and vtrenton committed Nov 20, 2024
1 parent 3decc78 commit 1c7d862
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ generate: generate-testdata generate-docs ## Update/generate all mock data. You
.PHONY: remove-spaces
remove-spaces:
@echo "Removing trailing spaces"
@SED_CMD="sed -i ''" && [ "$$(uname)" != "Darwin" ] && SED_CMD="sed -i"; \
find . -type f -name "*.md" -exec $$SED_CMD 's/[[:space:]]*$$//' {} + || true
@find . -type f -name "*.md" -exec sed -i '' 's/[[:space:]]*$$//' {} + || true

.PHONY: generate-testdata
generate-testdata: ## Update/generate the testdata in $GOPATH/src/sigs.k8s.io/kubebuilder
Expand Down

0 comments on commit 1c7d862

Please sign in to comment.