diff options
Diffstat (limited to 'src/FileModule.php')
-rw-r--r-- | src/FileModule.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/FileModule.php b/src/FileModule.php index 95ba771..31efa82 100644 --- a/src/FileModule.php +++ b/src/FileModule.php @@ -26,7 +26,7 @@ class FileModule extends Module /** * @inheritDoc */ - public function getCommands(): array + public function execute(): void { if ($this->state === State::PRESENT) { Connection::exec( @@ -37,7 +37,5 @@ class FileModule extends Module else { Connection::exec("sudo rm -rf $this->path"); } - - return []; } } |