Skip to content

Commit 2e069f0

Browse files
committed
Styling, nits.
1 parent 693a476 commit 2e069f0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/deploy/functions/functionsDeployHelper.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ export function parseFunctionSelector(selector: string, strict: boolean): Endpoi
6969
// conflict between a codebase name as function id in the default codebase.
7070
//
7171
// In strict mode, 'default' codebase is not optional and we always assume it is a codebase fragment.
72-
const ret: EndpointFilter[] = [{ codebase: fragments[0] }];
72+
const filters: EndpointFilter[] = [{ codebase: fragments[0] }];
7373
if (!strict) {
74-
ret.push({ codebase: DEFAULT_CODEBASE, idChunks: fragments[0].split(/[-.]/) });
74+
filters.push({ codebase: DEFAULT_CODEBASE, idChunks: fragments[0].split(/[-.]/) });
7575
}
76-
return ret;
76+
return filters;
7777
}
7878
return [
7979
{

src/emulator/controller.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export async function exportOnExit(options: Options): Promise<void> {
8080
try {
8181
utils.logBullet(
8282
`Automatically exporting data using ${FLAG_EXPORT_ON_EXIT_NAME} "${exportOnExitDir}" ` +
83-
"please wait for the export to finish...",
83+
"please wait for the export to finish...",
8484
);
8585
await exportEmulatorData(exportOnExitDir, options, /* initiatedBy= */ "exit");
8686
} catch (e: unknown) {
@@ -364,9 +364,9 @@ export async function startAll(
364364
"ERROR",
365365
Emulators.EXTENSIONS,
366366
`Unable to look up project number for ${options.project}.\n` +
367-
" If this is a real project, ensure that you are logged in and have access to it.\n" +
368-
" If this is a fake project, please use a project ID starting with 'demo-' to skip production calls.\n" +
369-
" Continuing with a fake project number - secrets and other features that require production access may behave unexpectedly.",
367+
" If this is a real project, ensure that you are logged in and have access to it.\n" +
368+
" If this is a fake project, please use a project ID starting with 'demo-' to skip production calls.\n" +
369+
" Continuing with a fake project number - secrets and other features that require production access may behave unexpectedly.",
370370
);
371371
}
372372
}
@@ -917,7 +917,7 @@ export async function startAll(
917917
"WARN",
918918
"dataconnect",
919919
"'firebase.json#emulators.dataconnect.dataDir' is set and `--import` flag was passed. " +
920-
"This will overwrite any data saved from previous runs.",
920+
"This will overwrite any data saved from previous runs.",
921921
);
922922
if (
923923
!options.nonInteractive &&
@@ -1025,8 +1025,8 @@ export async function startAll(
10251025
"WARN",
10261026
"emulators",
10271027
"The Emulator UI is not starting, either because none of the running " +
1028-
"emulators have a UI component or the Emulator UI cannot " +
1029-
"determine the Project ID. Pass the --project flag to specify a project.",
1028+
"emulators have a UI component or the Emulator UI cannot " +
1029+
"determine the Project ID. Pass the --project flag to specify a project.",
10301030
);
10311031
}
10321032

0 commit comments

Comments
 (0)