Skip to content

Commit bf87eaa

Browse files
committed
ci: update stylua
1 parent e11866c commit bf87eaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ endif
9898
# Stylua
9999
# ------------------------------------------------------------------------------
100100

101-
STYLUA_VERSION := v2.0.2
101+
STYLUA_VERSION := v2.1.0
102102
STYLUA_ZIP := stylua-$(STYLUA_PLATFORM).zip
103103
STYLUA_URL := https://github.com/JohnnyMorganz/StyLua/releases/download/$(STYLUA_VERSION)/$(STYLUA_ZIP)
104104
STYLUA := deps/stylua
@@ -126,4 +126,4 @@ stylua-check: $(STYLUA)
126126
.PHONY: stylua-run
127127
stylua-run: $(STYLUA)
128128
$(STYLUA) $(LUA_FILES)
129-
sed -i -r 's/---@/--- @/g' $(LUA_FILES)
129+
perl -pi -e 's/---@/--- @/g' $(LUA_FILES)

0 commit comments

Comments
 (0)