瀏覽代碼

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 年之前
父節點
當前提交
9afa0ed288
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      Makefile
  2. +1
    -1
      scripts/README.md

+ 1
- 1
Makefile 查看文件

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

+ 1
- 1
scripts/README.md 查看文件

@@ -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

Loading…
取消
儲存