Skip to content

Commit

Permalink
Merge pull request #11 from studio24/change-validation-check-deployer
Browse files Browse the repository at this point in the history
Change check for script path for deployer
  • Loading branch information
AlanJIsaacson authored Apr 8, 2021
2 parents fc77513 + 6b5412a commit b2699b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/check-local-deployer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

$scriptPath = get_included_files()[0];

if (strpos($scriptPath, __DIR__.'/vendor/deployer/deployer/bin/dep') !== true) {
if (strpos($scriptPath, __DIR__.'/vendor/deployer/deployer/bin/dep') === false) {
throw new \RuntimeException("Pleaae run using local Deployer with ./vendor/bin/dep");
}
});

0 comments on commit b2699b6

Please sign in to comment.