mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 08:52:39 +01:00
Remove unused variable
This commit is contained in:
parent
1d9ffce1ec
commit
2a99dc8b38
1 changed files with 1 additions and 2 deletions
|
@ -264,8 +264,6 @@ EOTEXT
|
|||
|
||||
if ($apply_patches && $result->isPatchable()) {
|
||||
$patcher = ArcanistLintPatcher::newFromArcanistLintResult($result);
|
||||
$old = $patcher->getUnmodifiedFileContent();
|
||||
$new = $patcher->getModifiedFileContent();
|
||||
|
||||
if ($prompt_patches &&
|
||||
!($result_all_autofix && !$prompt_autofix_patches)) {
|
||||
|
@ -274,6 +272,7 @@ EOTEXT
|
|||
$old_file = '/dev/null';
|
||||
}
|
||||
$new_file = new TempFile();
|
||||
$new = $patcher->getModifiedFileContent();
|
||||
Filesystem::writeFile($new_file, $new);
|
||||
|
||||
// TODO: Improve the behavior here, make it more like
|
||||
|
|
Loading…
Reference in a new issue