Skip to content

Commit

Permalink
Merge pull request #4 from vanilla/fix/label-sync-delete
Browse files Browse the repository at this point in the history
Label sync: use empty string default for delete
  • Loading branch information
linc authored Sep 19, 2018
2 parents 5d1a140 + 4c7f505 commit 3d6b8fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

switch ($args->getCommand()) {
case 'labels':
$sync->syncLabels($args->getOpt('delete'));
$sync->syncLabels($args->getOpt('delete', ''));
break;
case 'milestones':
$sync->syncMilestones($args->getOpt('status', 'open'), $args->getOpt('autoclose', false));
Expand All @@ -65,4 +65,4 @@
} catch (Exception $ex) {
echo $cli->red($ex->getMessage());
return $ex->getCode();
}
}

0 comments on commit 3d6b8fb

Please sign in to comment.