Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log file #74

Open
teanocrata opened this issue Aug 26, 2016 · 0 comments
Open

Log file #74

teanocrata opened this issue Aug 26, 2016 · 0 comments

Comments

@teanocrata
Copy link

Hi Bruno,

In Config.php, when you check if log option is set, you assign to WRITE_TO_LOG constant the value of revert option in case it's set, Is it correct?

if (isset($opts['log'])) {
   define('WRITE_TO_LOG', $opts['revert'] ? $opts['revert'] : 'git_deploy_php_log.txt');
}

Maybe It would be something like:

if (isset($opts['log'])) {
   define('WRITE_TO_LOG', $opts['log'] ? $opts['log'] : 'git_deploy_php_log.txt');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant