From 04e7c70b268d5fe8a3c7bc280332027be28dd5ea Mon Sep 17 00:00:00 2001 From: nu_no Date: Tue, 27 Aug 2019 19:26:53 +0200 Subject: [PATCH] Updates end-of-line for batch file Using *nix' `lf` line endings instead of `crlf` in Windows batch files can lead to [unexpected results](https://stackoverflow.com/questions/232651/why-the-system-cannot-find-the-batch-label-specified-is-thrown-even-if-label-e). --- .editorconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index acc9c37a..28afefa5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -70,7 +70,12 @@ indent_size = 2 indent_style = space indent_size = 2 -[{shell.bat,shell.sh,update-docker.sh}] +[{shell.sh,update-docker.sh}] +indent_style = tab +indent_size = 4 + +[shell.bat] +end_of_line = crlf indent_style = tab indent_size = 4