Skip to content

Commit f7e8cd5

Browse files
committed
fix(ci, formatting): update configuration for formatting checks, format Macros.ark
1 parent 3a604a8 commit f7e8cd5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20+
- run: rm -rf tests
2021
- name: Format check
2122
uses: ArkScript-lang/action-format@master
2223
with:
2324
folder: .
24-
exclude: tests
2525

2626
build:
2727
runs-on: ubuntu-24.04

Macros.ark

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@
102102
# (print "this will always be executed"))
103103
# =end
104104
# @author https://github.com/SuperFola
105-
(macro unless (cond ...body)
106-
(if (not cond) ...body))
105+
(macro unless (cond ...body) (if (not cond) ...body))
107106

108107
# @brief Iterate until the condition is truthy
109108
# @param cond condition
@@ -116,5 +115,4 @@
116115
# (print data) # [0 1 2 3 4 5 6 7 8 9]
117116
# =end
118117
# @author https://github.com/SuperFola
119-
(macro until (cond body)
120-
(while (not cond) body))
118+
(macro until (cond body) (while (not cond) body))

0 commit comments

Comments
 (0)