1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-21 22:32:41 +01:00

Correct call to non-existing Filesystem::removePath() in ArcanistDownloadWorkflow.php

Summary:
rARC21e80a635d798c5be2c6e5c272497b3170c1e079 introduced a call to non-existing `Filesystem::removePath()`.
Presumably, `remove()` in `src/filesystem/Filesystem.php` was meant, so use that function instead.

Test Plan: Unknown, apart from reading and grep'ing the code base.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25640
This commit is contained in:
Andre Klapper 2024-05-16 10:45:15 +02:00
parent 7f28d7266f
commit 5477568274

View file

@ -156,7 +156,7 @@ EOTEXT
try { try {
list($data) = $future->resolvex(); list($data) = $future->resolvex();
} catch (Exception $ex) { } catch (Exception $ex) {
Filesystem::removePath($path); Filesystem::remove($path);
throw $ex; throw $ex;
} }