Skip to content

Commit

Permalink
Fix lint problems for Environment lib
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Oct 29, 2023
1 parent bceb7d2 commit cca1382
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/libs/Environment/getEnvironment/index.native.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Config from 'react-native-config';
import Environment from './types';
import betaChecker from '@libs/Environment/betaChecker';
import CONST from '@src/CONST';
import Environment from './types';

let environment: Environment | null = null;

Expand Down
2 changes: 1 addition & 1 deletion src/libs/Environment/getEnvironment/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Config from 'react-native-config';
import Environment from './types';
import CONST from '@src/CONST';
import Environment from './types';

function getEnvironment(): Promise<Environment> {
return Promise.resolve((Config?.ENVIRONMENT as Environment) ?? CONST.ENVIRONMENT.DEV);
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Environment/getEnvironment/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {ValueOf} from 'type-fest';
import CONST from '../../../CONST';
import CONST from '@src/CONST';

type Environment = ValueOf<typeof CONST.ENVIRONMENT>;

Expand Down

0 comments on commit cca1382

Please sign in to comment.