Skip to content

Commit db4f30c

Browse files
committed
style: capitalize logs
1 parent f86a6e6 commit db4f30c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/components/router/router.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,23 +167,23 @@ export class Router implements ComponentInterface {
167167
@Method()
168168
async navChanged(direction: RouterDirection): Promise<boolean> {
169169
if (this.busy) {
170-
printIonWarning('[ion-router] - router is busy, navChanged was cancelled');
170+
printIonWarning('[ion-router] - Router is busy, navChanged was cancelled');
171171
return false;
172172
}
173173
const { ids, outlet } = await readNavState(window.document.body);
174174
const routes = readRoutes(this.el);
175175
const chain = findChainForIDs(ids, routes);
176176
if (!chain) {
177177
printIonWarning(
178-
'[ion-router] - no matching URL for ',
178+
'[ion-router] - No matching URL for',
179179
ids.map((i) => i.id)
180180
);
181181
return false;
182182
}
183183

184184
const segments = chainToSegments(chain);
185185
if (!segments) {
186-
printIonWarning('[ion-router] - router could not match path because some required param is missing');
186+
printIonWarning('[ion-router] - Router could not match path because some required param is missing');
187187
return false;
188188
}
189189

@@ -339,7 +339,7 @@ export class Router implements ComponentInterface {
339339
animation?: AnimationBuilder
340340
): Promise<boolean> {
341341
if (this.busy) {
342-
printIonWarning('[ion-router] - router is busy, transition was cancelled');
342+
printIonWarning('[ion-router] - Router is busy, transition was cancelled');
343343
return false;
344344
}
345345
this.busy = true;

0 commit comments

Comments
 (0)