Skip to content

Commit

Permalink
Merge pull request #60 from wp-cli/fix-pathing-logic
Browse files Browse the repository at this point in the history
Use correct number of `dirname()` calls to find the `vendor` folder
  • Loading branch information
schlessera authored Apr 19, 2019
2 parents a61b89f + d45af62 commit 68ccf63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function wpcli_bootstrap_behat_feature_context() {
// wp-cli/wp-cli-tests is the root project.
dirname( dirname( __DIR__ ) ) . '/vendor',
// wp-cli/wp-cli-tests is a dependency.
dirname( dirname( dirname( __DIR__ ) ) ),
dirname( dirname( dirname( dirname( __DIR__ ) ) ) ),
];

$vendor_folder = '';
Expand Down

0 comments on commit 68ccf63

Please sign in to comment.