Skip to content

Commit

Permalink
fix wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
OEvgeny committed Apr 8, 2023
1 parent 504972c commit 1b0e805
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
export const isOneAuthEnabled =
['darwin', 'win32'].includes(process.platform) &&
((process.env.COMPOSER_ENABLE_ONEAUTH !== 'false' && process.env.NODE_ENV === 'production') ||
(process.env.COMPOSER_ENABLE_ONEAUTH !== 'true' && process.env.NODE_ENV === 'development'));
(process.env.COMPOSER_ENABLE_ONEAUTH === 'true' && process.env.NODE_ENV === 'development'));

0 comments on commit 1b0e805

Please sign in to comment.