Skip to content

Commit

Permalink
Merge pull request #103 from jolicode/fix-wsl-notifier
Browse files Browse the repository at this point in the history
Move WSL notifier to Windows notifier list
  • Loading branch information
pyrech authored Apr 25, 2024
2 parents 3963656 + 894ffac commit 857cbd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/NotifierFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ private static function getUnixNotifiers(): array
new AppleScriptNotifier(),
new KDialogNotifier(),
new NotifySendNotifier(),
new WslNotifySendNotifier(),
];
}

Expand All @@ -92,6 +91,7 @@ private static function getWindowsNotifiers(): array
return [
new SnoreToastNotifier(),
new NotifuNotifier(),
new WslNotifySendNotifier(),
];
}

Expand Down
2 changes: 1 addition & 1 deletion tests/NotifierFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ public function testGetDefaultNotifiers()
AppleScriptNotifier::class,
KDialogNotifier::class,
NotifySendNotifier::class,
WslNotifySendNotifier::class,
];
} else {
$expectedNotifierClasses = [
SnoreToastNotifier::class,
NotifuNotifier::class,
WslNotifySendNotifier::class,
];
}

Expand Down

0 comments on commit 857cbd3

Please sign in to comment.