getCommitBinFile() public method

public getCommitBinFile ( ) : string | null
return string | null
 private function doCommit()
 {
     if (!$this->config->getCommitBinFile()) {
         $this->io->writeError('<error>No "commit-bin-file" for composer-changelogs plugin. Commit not done.</error>');
         return;
     }
     $workingDirectory = getcwd();
     $filename = tempnam(sys_get_temp_dir(), 'composer-changelogs-');
     $message = $this->config->getCommitMessage() . PHP_EOL . PHP_EOL . strip_tags($this->outputter->getOutput());
     file_put_contents($filename, $message);
     $command = $this->config->getCommitBinFile() . ' ' . escapeshellarg($workingDirectory) . ' ' . escapeshellarg($filename);
     $this->io->write(sprintf('Executing following command: %s', $command));
     exec($command);
 }