Skip to content

Commit 04e7c70

Browse files
authored
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).
1 parent 0543f2d commit 04e7c70

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.editorconfig

+6-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ indent_size = 2
7070
indent_style = space
7171
indent_size = 2
7272

73-
[{shell.bat,shell.sh,update-docker.sh}]
73+
[{shell.sh,update-docker.sh}]
74+
indent_style = tab
75+
indent_size = 4
76+
77+
[shell.bat]
78+
end_of_line = crlf
7479
indent_style = tab
7580
indent_size = 4
7681

0 commit comments

Comments
 (0)