Remove double condition #1807

Merged
merged 1 commit into from Jan 10, 2017

Projects

None yet

2 participants

@wouter
Contributor
wouter commented Jan 10, 2017

Proposed changes

Removing a duplicate if condition.

Types of changes

What types of changes does your code introduce to WebdriverIO?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

I saw this double condition when checking how the service launching worked, so I thought I would send this small PR.

Reviewers: @christian-bromann

@christian-bromann
Member

Good catch 👍🏻

@christian-bromann christian-bromann merged commit 3645cc9 into webdriverio:master Jan 10, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment