Skip to content

Commit

Permalink
fix(nvidia): deprecation notice removed outside of usa
Browse files Browse the repository at this point in the history
Resolves #673
  • Loading branch information
jef committed Dec 6, 2020
1 parent 47c8b5f commit d741578
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ function warnIfStoreDeprecated(store: Store) {
switch (store.name) {
case 'nvidia':
case 'nvidia-api':
logger.warn(`${store.name} is deprecated in favor of bestbuy`);
if (config.store.country === 'usa')
logger.warn(`${store.name} is deprecated in favor of bestbuy`);
break;
case 'evga':
logger.warn(
Expand Down

0 comments on commit d741578

Please sign in to comment.