Skip to content

Commit

Permalink
Update simctl.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Aug 31, 2024
1 parent a5d153e commit 25d88d0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/simctl.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,7 @@ class Simctl {
encoding,
};
if (!asynchronous) {
if (timeout) {
execOpts.timeout = timeout;
} else {
execOpts.timeout = this.execTimeout;
}
execOpts.timeout = timeout || this.execTimeout;
}
const xcrun = await this.requireXcrun();
try {
Expand Down

0 comments on commit 25d88d0

Please sign in to comment.