Skip to content

Commit

Permalink
BUGFIX #10 (#11)
Browse files Browse the repository at this point in the history
* Fix link href

* Fix #10 - do not pass null
  • Loading branch information
g105b authored Feb 15, 2021
1 parent 7da560e commit eebe9f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/SyncCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -73,4 +73,4 @@ public function getOptionalParameterList():array {
)
];
}
}
}

0 comments on commit eebe9f6

Please sign in to comment.