Skip to content

Commit 8dcc760

Browse files
committed
style: fix biome format violations inherited from base branch merge
Long lines in wasm-worker-entry.ts, wasm-worker-pool.ts and two fixture files were not wrapped per the 100-char line width rule.
1 parent 2fa6d7e commit 8dcc760

4 files changed

Lines changed: 13 additions & 8 deletions

File tree

src/domain/wasm-worker-entry.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,9 @@ function serializeExtractorOutput(
813813
...(symbols.objectRestParamBindings?.length
814814
? { objectRestParamBindings: symbols.objectRestParamBindings }
815815
: {}),
816-
...(symbols.objectPropBindings?.length ? { objectPropBindings: symbols.objectPropBindings } : {}),
816+
...(symbols.objectPropBindings?.length
817+
? { objectPropBindings: symbols.objectPropBindings }
818+
: {}),
817819
...(symbols.newExpressions?.length ? { newExpressions: symbols.newExpressions } : {}),
818820
};
819821
}

src/domain/wasm-worker-pool.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ function deserializeResult(ser: SerializedExtractorOutput | null): ExtractorOutp
112112
if (ser.spreadArgBindings?.length) out.spreadArgBindings = ser.spreadArgBindings;
113113
if (ser.forOfBindings?.length) out.forOfBindings = ser.forOfBindings;
114114
if (ser.arrayCallbackBindings?.length) out.arrayCallbackBindings = ser.arrayCallbackBindings;
115-
if (ser.objectRestParamBindings?.length) out.objectRestParamBindings = ser.objectRestParamBindings;
115+
if (ser.objectRestParamBindings?.length)
116+
out.objectRestParamBindings = ser.objectRestParamBindings;
116117
if (ser.objectPropBindings?.length) out.objectPropBindings = ser.objectPropBindings;
117118
if (ser.newExpressions?.length) out.newExpressions = ser.newExpressions;
118119
return out;

tests/benchmarks/resolution/fixtures/jelly-micro/rest/rest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function e4() {}
88
const obj = { e1, e2, e3, e4 };
99

1010
function f3({ e1: eee1, ...eerest }) {
11-
eee1();
12-
eerest.e4(); // eerest.e4 === obj.e4 === e4 when called as f3(obj)
11+
eee1();
12+
eerest.e4(); // eerest.e4 === obj.e4 === e4 when called as f3(obj)
1313
}
1414
f3(obj);
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
// Jelly micro-test: this — function-as-object property methods, this-dispatch
22

33
function f() {}
4-
f.g = function() { console.log("2"); }
5-
f.h = function() {
6-
this.g(); // this === f when called as f.h()
7-
}
4+
f.g = function () {
5+
console.log('2');
6+
};
7+
f.h = function () {
8+
this.g(); // this === f when called as f.h()
9+
};
810
f.h();

0 commit comments

Comments
 (0)