1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix grammer and formatting

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-01-08 17:01:29 -05:00
parent 8cbd9224ae
commit af67b90e96
2 changed files with 10 additions and 10 deletions

View File

@ -38,7 +38,7 @@ describe("Lens integration tests", () => {
beforeAll(appStart, 20000) beforeAll(appStart, 20000)
afterAll(async () => { afterAll(async () => {
if (app && app.isRunning()) { if (app?.isRunning()) {
return util.tearDown(app) return util.tearDown(app)
} }
}) })

View File

@ -99,7 +99,7 @@ export function startUpdateChecking(windowManager: WindowManager, interval = 100
.on("update-available", async (args: UpdateInfo) => { .on("update-available", async (args: UpdateInfo) => {
try { try {
const releaseDate = moment(args.releaseDate); const releaseDate = moment(args.releaseDate);
const body = `Version ${args.version} was release on ${releaseDate.format("dddd, MMMM Do, yyyy")}.`; const body = `Version ${args.version} was released on ${releaseDate.format("dddd, MMMM Do, yyyy")}.`;
windowManager.mainView.webContents.send(NotificationChannelAdd, { windowManager.mainView.webContents.send(NotificationChannelAdd, {
title, title,
body, body,