Skip to content

Commit

Permalink
fix formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nacgarg committed Sep 21, 2020
1 parent ecb6726 commit ff670ad
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/notification/desktop.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import notifier from 'node-notifier';
import { Config } from '../config';
import { Logger } from '../logger';
import { Link } from '../store/model';
import {Config} from '../config';
import {Logger} from '../logger';
import {Link} from '../store/model';

export function sendDesktopNotification(cartUrl: string, link: Link) {
(async () => {
const title = link.brand + ' ' + link.model + ' IN STOCK';
const message = cartUrl;
(async () => {
const title = link.brand + ' ' + link.model + ' IN STOCK';
const message = cartUrl;

notifier.notify({
title,
message
});
})();
notifier.notify({
title,
message
});
})();
}

0 comments on commit ff670ad

Please sign in to comment.