Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function NotificationProviderNotificationCenter() {
let customPath = PATH.resolve(
"bin", "darwin", "terminal-notifier.app", "Contents", "MacOS", "terminal-notifier"
);
// fix executable permissions
FS.chmodSync( customPath, "755" );
this.provider = new NotificationCenter({
withFallback: false,
customPath
});
}