Skip to content

Commit

Permalink
✨ feat(inject): now 'eureka?' is case-sensitive
Browse files Browse the repository at this point in the history
Signed-off-by: FurryR <[email protected]>
  • Loading branch information
FurryR committed Sep 22, 2024
1 parent a42f7cf commit 8722b64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/injector/inject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,14 +363,14 @@ export function injectVM (vm: EurekaCompatibleVM) {
};

const checkEureka = (eurekaFlag: string): boolean | null => {
switch (eurekaFlag.toLowerCase()) {
case '🧐 chibi?':
switch (eurekaFlag) {
case '🧐 Chibi?':
warn("'🧐 Chibi?' is deprecated, use '🧐 Eureka?' instead.");
return true;
case '🧐 chibi installed?':
case '🧐 Chibi Installed?':
warn("'🧐 Chibi Installed?' is deprecated, use '🧐 Eureka?' instead.");
return true;
case '🧐 eureka?':
case '🧐 Eureka?':
return true;
}
return null;
Expand Down

0 comments on commit 8722b64

Please sign in to comment.