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:
parent
8cbd9224ae
commit
af67b90e96
@ -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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user