Skip to content

Commit 4280ee6

Browse files
committed
fix(ses): lint
1 parent 61b8d81 commit 4280ee6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/ses/src/module-load.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -348,13 +348,13 @@ function asyncJobQueue() {
348348
*
349349
* @returns {Promise<Array<Error>>}
350350
*/
351-
async function drainQueue () {
351+
async function drainQueue() {
352352
for (const job of pendingJobs) {
353353
// eslint-disable-next-line no-await-in-loop
354354
await job;
355355
}
356356
return errors;
357-
};
357+
}
358358
return { enqueueJob, drainQueue };
359359
}
360360

@@ -387,7 +387,7 @@ const preferAsync = (asyncImpl, _syncImpl) => asyncImpl;
387387
* compartment and the specifier of the module within its own compartment.
388388
* This graph is then ready to be synchronously linked and executed.
389389
*/
390-
export async function load (
390+
export async function load(
391391
compartmentPrivateFields,
392392
moduleAliases,
393393
compartment,
@@ -422,7 +422,7 @@ export async function load (
422422
compartmentName,
423423
)}`,
424424
});
425-
};
425+
}
426426

427427
/*
428428
* `loadNow` synchronously gathers the `StaticModuleRecord`s for a module and its

packages/ses/src/permits.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ export const permitted = {
15741574
};
15751575

15761576
try {
1577-
new FERAL_FUNCTION('async function* AsyncGeneratorFunctionInstance() {}')();
1577+
new FERAL_FUNCTION('async function* AsyncGeneratorFunctionInstance() {}')();
15781578
assign(permitted, {
15791579
'%InertAsyncGeneratorFunction%': {
15801580
// Properties of the AsyncGeneratorFunction Constructor

packages/ses/src/tame-function-constructors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default function tameFunctionConstructors() {
128128
);
129129

130130
try {
131-
new FERAL_FUNCTION('async function* AsyncGeneratorFunctionInstance() {}')();
131+
new FERAL_FUNCTION('async function* AsyncGeneratorFunctionInstance() {}')();
132132
repairFunction(
133133
'AsyncGeneratorFunction',
134134
'%InertAsyncGeneratorFunction%',

0 commit comments

Comments
 (0)