Skip to content

Commit

Permalink
Merge branch 'develop' into issue-6979
Browse files Browse the repository at this point in the history
  • Loading branch information
panzarino authored May 28, 2020
2 parents 10483a6 + c68f274 commit 510d5dc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/driver/src/cy/commands/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,6 @@ module.exports = (Commands, Cypress, cy, state, config) => {

let userOptions = options

if (userOptions.url && url) {
$utils.throwErrByPath('visit.no_duplicate_url', { args: { optionsUrl: userOptions.url, url } })
}

if (_.isObject(url) && _.isEqual(userOptions, {})) {
// options specified as only argument
userOptions = url
Expand Down

0 comments on commit 510d5dc

Please sign in to comment.