Skip to content

Commit 240d7ad

Browse files
author
Alain Sollberger
committed
fix(lint): fixed lint errors
1 parent 56f18f4 commit 240d7ad

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

libs/native-federation-core/src/lib/core/build-for-federation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export async function buildForFederation(
3636
let artefactInfo: ArtefactInfo | undefined;
3737

3838
if (!buildParams.skipMappingsAndExposed) {
39-
let start = process.hrtime();
39+
const start = process.hrtime();
4040
artefactInfo = await bundleExposedAndMappings(
4141
config,
4242
fedOptions,

libs/native-federation/src/builders/build/builder.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export async function* runBuilder(
228228

229229
const activateSsr = nfOptions.ssr && !nfOptions.dev;
230230

231-
let start = process.hrtime();
231+
const start = process.hrtime();
232232
const config = await loadFederationConfig(fedOptions);
233233
logger.measure(start, 'To load the federation config.');
234234

@@ -325,7 +325,7 @@ export async function* runBuilder(
325325

326326
let federationResult: FederationInfo;
327327
try {
328-
let start = process.hrtime();
328+
const start = process.hrtime();
329329
federationResult = await buildForFederation(config, fedOptions, externals);
330330
logger.measure(start, 'To build the artifacts.');
331331
} catch (e) {
@@ -339,7 +339,7 @@ export async function* runBuilder(
339339

340340
const hasLocales = i18n?.locales && Object.keys(i18n.locales).length > 0;
341341
if (hasLocales && localeFilter) {
342-
let start = process.hrtime();
342+
const start = process.hrtime();
343343

344344
translateFederationArtefacts(
345345
i18n,
@@ -401,7 +401,7 @@ export async function* runBuilder(
401401
if (!first && (nfOptions.dev || watch)) {
402402
setTimeout(async () => {
403403
try {
404-
let start = process.hrtime();
404+
const start = process.hrtime();
405405
federationResult = await buildForFederation(
406406
config,
407407
fedOptions,

0 commit comments

Comments
 (0)