From eebe9f6823de4c8865cc23d459200883ee60a2be Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Mon, 15 Feb 2021 10:21:20 +0000 Subject: [PATCH] BUGFIX #10 (#11) * Fix link href * Fix #10 - do not pass null --- src/Command/SyncCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/SyncCommand.php b/src/Command/SyncCommand.php index 56c0af6..8e0defd 100644 --- a/src/Command/SyncCommand.php +++ b/src/Command/SyncCommand.php @@ -11,7 +11,7 @@ class SyncCommand extends Command { public function run(ArgumentValueList $arguments = null):void { $source = $arguments->get("source"); $destination = $arguments->get("destination"); - $pattern = $arguments->get("pattern", null); + $pattern = $arguments->get("pattern"); $sync = new DirectorySync($source, $destination, $pattern); $sync->exec(); @@ -73,4 +73,4 @@ public function getOptionalParameterList():array { ) ]; } -} \ No newline at end of file +}