Przeglądaj źródła

Add missing newlines

On *nix systems it's a common convention to end a file with an empty
newline. It also helps if the newline is present if user wants to
simply cat a file in the command line.

I used the following one-liner to automatically add newlines in all
files that don't have it:

    $ find . -path ./.git -prune -o -type f -a ! -name .keep -exec sh -c '[[ $(tail -c1 "$1" | wc -l) -gt 0 ]] || echo >> "$1"' sh {} \;
chore/proposed-structure
Arkadiusz Drabczyk 1 rok temu
rodzic
commit
9afa0ed288
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      Makefile
  2. +1
    -1
      scripts/README.md

+ 1
- 1
Makefile Wyświetl plik

@@ -1 +1 @@
# note: call scripts from /scripts
# note: call scripts from /scripts

+ 1
- 1
scripts/README.md Wyświetl plik

@@ -8,4 +8,4 @@ Examples:

* https://github.com/kubernetes/helm/tree/master/scripts
* https://github.com/cockroachdb/cockroach/tree/master/scripts
* https://github.com/hashicorp/terraform/tree/master/scripts
* https://github.com/hashicorp/terraform/tree/master/scripts

Ładowanie…
Anuluj
Zapisz