diff --git a/src/Task/Base.php b/src/Task/Base.php index e16af74..e775d89 100644 --- a/src/Task/Base.php +++ b/src/Task/Base.php @@ -58,11 +58,12 @@ abstract class Base extends BaseTask implements CommandInterface */ public function file($filename) { - if (!file_exists($filename)) { - throw new \InvalidArgumentException( - sprintf("File %s wasn't found on the filesystem", $filename) - ); - } + // FIXME: does not work with working directory option + //if (!file_exists($filename)) { + // throw new \InvalidArgumentException( + // sprintf("File %s wasn't found on the filesystem", $filename) + // ); + //} $this->execOption('file', $filename);