chore: Prettier fix formatting

This commit is contained in:
Saoud Rizwan
2025-01-06 12:41:33 -08:00
parent 9de7253998
commit 25cd7cc8e2
106 changed files with 1624 additions and 5278 deletions
+4 -12
View File
@@ -7,9 +7,7 @@ interface NotificationOptions {
message: string
}
async function showMacOSNotification(
options: NotificationOptions,
): Promise<void> {
async function showMacOSNotification(options: NotificationOptions): Promise<void> {
const { title, subtitle = "", message } = options
const script = `display notification "${message}" with title "${title}" subtitle "${subtitle}" sound name "Tink"`
@@ -21,9 +19,7 @@ async function showMacOSNotification(
}
}
async function showWindowsNotification(
options: NotificationOptions,
): Promise<void> {
async function showWindowsNotification(options: NotificationOptions): Promise<void> {
const { subtitle, message } = options
const script = `
@@ -54,9 +50,7 @@ async function showWindowsNotification(
}
}
async function showLinuxNotification(
options: NotificationOptions,
): Promise<void> {
async function showLinuxNotification(options: NotificationOptions): Promise<void> {
const { title = "", subtitle = "", message } = options
// Combine subtitle and message if subtitle exists
@@ -69,9 +63,7 @@ async function showLinuxNotification(
}
}
export async function showSystemNotification(
options: NotificationOptions,
): Promise<void> {
export async function showSystemNotification(options: NotificationOptions): Promise<void> {
try {
const { title = "Cline", message } = options