Skip to content

Commit

Permalink
Fix arrays comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Nov 23, 2023
1 parent e9ea70c commit 4b5c37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simulator-xcode-9.js
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ class SimulatorXcode9 extends SimulatorXcode8 {
}

if (globalPrefs.AppleLanguages) {
if (previousAppleLanguages && previousAppleLanguages === globalPrefs.AppleLanguages) {
if (_.isEqual(previousAppleLanguages, globalPrefs.AppleLanguages)) {
log.info(
`The 'AppleLanguages' preference is already set to '${globalPrefs.AppleLanguages}'. ` +
`Skipping services reset`
Expand Down

0 comments on commit 4b5c37a

Please sign in to comment.