Skip to content

Commit 9fe530b

Browse files
fix: check-line-endings command of Makefile (#499)
Fix: - update the command to search script file in `.` instead of `scripts/` folder to avoid returning an error. --------- Signed-off-by: Junjie Gao <junjiegao@microsoft.com> Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com> Co-authored-by: Patrick Zheng <patrickzheng@microsoft.com>
1 parent 3eeef95 commit 9fe530b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ clean:
2929
.PHONY: check-line-endings
3030
check-line-endings: ## check line endings
3131
! find . -name "*.go" -type f -exec file "{}" ";" | grep CRLF
32-
! find scripts -name "*.sh" -type f -exec file "{}" ";" | grep CRLF
32+
! find . -name "*.sh" -type f -exec file "{}" ";" | grep CRLF
3333

3434
.PHONY: fix-line-endings
3535
fix-line-endings: ## fix line endings

0 commit comments

Comments
 (0)