Skip to content

Commit 6a5828b

Browse files
committed
fix lints
1 parent 4385a59 commit 6a5828b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/javascript/lib/core/special_forms.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function cond(...clauses) {
1616

1717
function run_list_generators(generator, generators) {
1818
if (generators.length === 0) {
19-
return generator.map(x => {
19+
return generator.map((x) => {
2020
if (Array.isArray(x)) {
2121
return x;
2222
}
@@ -44,7 +44,7 @@ function _for(expression, generators, collectable_protocol, into = []) {
4444
if (expression.guard.apply(this, value)) {
4545
result = fun(
4646
result,
47-
new Core.Tuple(Symbol.for('cont'), expression.fn.apply(this, value))
47+
new Core.Tuple(Symbol.for('cont'), expression.fn.apply(this, value)),
4848
);
4949
}
5050
}
@@ -57,7 +57,7 @@ function _try(
5757
rescue_function,
5858
catch_fun,
5959
else_function,
60-
after_function
60+
after_function,
6161
) {
6262
let result = null;
6363

@@ -144,16 +144,16 @@ function _with(...args) {
144144
function receive(clauses, timeout = 0, timeoutFn = () => true) {
145145
console.warn('Receive not supported');
146146

147-
const messages = []; //this.mailbox.get();
147+
const messages = []; // this.mailbox.get();
148148
const NOMATCH = Symbol();
149149

150150
for (let i = 0; i < messages.length; i++) {
151151
for (const clause of clauses) {
152-
const value = Patterns.match_or_default(
152+
const value = Core.Patterns.match_or_default(
153153
clause.pattern,
154154
messages[i],
155155
clause.guard,
156-
NOMATCH
156+
NOMATCH,
157157
);
158158

159159
if (value !== NOMATCH) {
@@ -172,5 +172,5 @@ export default {
172172
_for,
173173
_try,
174174
_with,
175-
receive
175+
receive,
176176
};

0 commit comments

Comments
 (0)