bulk code format fix (#8707)

This commit is contained in:
Derek Bailey
2025-09-23 21:50:27 -07:00
committed by GitHub
parent 0e047869da
commit caf3b494db
559 changed files with 38871 additions and 31276 deletions

View File

@@ -5,14 +5,15 @@
// We pick lodash here not for any particular reason. It could be any package,
// really. I chose it because it's a relatively simple package.
import assert from 'node:assert/strict'
import _ from 'lodash'
import assert from 'node:assert/strict'
function main() {
console.log(_);
assert.deepStrictEqual(_.defaults({ 'a': 1 }, { 'a': 3, 'b': 2 }), { 'a': 1, 'b': 2 });
assert.deepStrictEqual(_.partition([1, 2, 3, 4], n => n % 2), [[1, 3], [2, 4]]);
assert.deepStrictEqual(
_.defaults({'a': 1}, {'a': 3, 'b': 2}), {'a': 1, 'b': 2});
assert.deepStrictEqual(
_.partition([1, 2, 3, 4], n => n % 2), [[1, 3], [2, 4]]);
}
main();