Apply capitalization guidelines - iteration 7 (#12343) (#12453)

This commit is contained in:
Michael S. Molina
2021-01-22 02:46:06 -03:00
committed by GitHub
parent 2a587f6cb1
commit d9388d4535
15 changed files with 31 additions and 31 deletions

View File

@@ -79,7 +79,7 @@ const initAsyncEvents = (options: AsyncEventOptions) => {
try {
lastReceivedEventId = localStorage.getItem(LOCALSTORAGE_KEY);
} catch (err) {
console.warn('failed to fetch last event Id from localStorage');
console.warn('Failed to fetch last event Id from localStorage');
}
const fetchEvents = makeApi<
@@ -114,7 +114,7 @@ const initAsyncEvents = (options: AsyncEventOptions) => {
try {
localStorage.setItem(LOCALSTORAGE_KEY, lastReceivedEventId as string);
} catch (err) {
console.warn('Error saving event ID to localStorage', err);
console.warn('Error saving event Id to localStorage', err);
}
};
@@ -138,7 +138,7 @@ const initAsyncEvents = (options: AsyncEventOptions) => {
const component = componentsByJobId[asyncEvent.job_id];
if (!component) {
console.warn(
'component not found for job_id',
'Component not found for job_id',
asyncEvent.job_id,
);
return setLastId(asyncEvent);
@@ -156,7 +156,7 @@ const initAsyncEvents = (options: AsyncEventOptions) => {
);
break;
default:
console.warn('received event with status', asyncEvent.status);
console.warn('Received event with status', asyncEvent.status);
}
return setLastId(asyncEvent);