mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-06-02 05:30:48 +00:00
Adjust parsePatch to account for binary files (Fix #74)
This commit is contained in:
parent
3b9c3fcbcd
commit
055398c122
|
@ -84,9 +84,15 @@ class PullModel extends \JModelBase
|
|||
$file->action = 'deleted';
|
||||
}
|
||||
|
||||
// Binary files are presently unsupported, use this to reset the parser in the meantime
|
||||
if (strpos($line, 'Binary files') === 0)
|
||||
{
|
||||
$state = 0;
|
||||
}
|
||||
|
||||
if (strpos($line, '@@') === 0)
|
||||
{
|
||||
$state = 0;
|
||||
$state = 0;
|
||||
|
||||
/*
|
||||
* Check if the patch tester is running in a production environment
|
||||
|
|
Loading…
Reference in New Issue
Block a user