mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 00:32:25 +01:00
Fix reference to deploy file path
This commit is contained in:
parent
ca994fff5b
commit
1a43a895b0
2
bin/dep
2
bin/dep
@ -105,7 +105,7 @@ $deployer = new \Deployer\Deployer($console, $input, $output);
|
||||
// Require deploy.php file
|
||||
if (is_readable($deployFile)) {
|
||||
// Prevent variable leak into deploy.php file
|
||||
call_user_func(function() {
|
||||
call_user_func(function() use ($deployFile) {
|
||||
require $deployFile;
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user