Skip to content
This repository was archived by the owner on Oct 20, 2020. It is now read-only.

Commit 9dcc917

Browse files
author
Linter
committed
🚨Prettier: Fix code style issues
1 parent 0140ebc commit 9dcc917

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ const shortenURL = async (longLink) => {
3434
const run = (longLink) => {
3535
const startsWIthHTTP = /^http/;
3636
if (startsWIthHTTP.exec(longLink) !== null) {
37-
const notification = `display notification "${longLink}" with title "Link Shortened" subtitle "${shortenURL(longLink)}" sound name "purr"`;
37+
const notification = `display notification "${longLink}" with title "Link Shortened" subtitle "${shortenURL(
38+
longLink
39+
)}" sound name "purr"`;
3840
applescript.execString(notification);
3941
} else {
4042
const notification = `display notification "${longLink}" with title "Invalid Link" subtitle "Make sure link has http or https" sound name "glass"`;

0 commit comments

Comments
 (0)