Skip to content

Log file #74

@teanocrata

Description

@teanocrata

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');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions