Skip to content

Commit 0ddd8e0

Browse files
committed
stylua -> EmmyLuaCodeStyle: CI
1 parent 74f8deb commit 0ddd8e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ check: luals
1515
luacheck:
1616
luacheck -q lua
1717

18+
# --diagnosis-as-error does not function for workspace, hence we post-process the output
1819
style-check:
19-
CodeFormat check --config .editorconfig --diagnosis-as-error --workspace lua
20+
CodeFormat check --config .editorconfig --diagnosis-as-error --workspace lua 2>&1 | tee /tmp/CodeFormat.out ; ! grep -qE "warning|error" /tmp/CodeFormat.out
2021

2122
style-doc:
2223
scripts/doc-comments.sh

0 commit comments

Comments
 (0)