Skip to content

Commit 556014b

Browse files
update
1 parent a00d6f1 commit 556014b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/com/francescodisalesdev/gitcli/shellcomponents/GitCliShellClone.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class GitCliShellClone
1313
{
1414

1515
@ShellMethod("clone the repository given an url")
16-
public void clone(String repository, String localPath, @ShellOption(value = "master")String branch)
16+
public void clone(String repository, String localPath, @ShellOption(defaultValue = "master")String branch)
1717
{
1818
GitService gitService = new GitService();
1919

src/main/java/com/francescodisalesdev/gitcli/shellcomponents/GitCliShellRepository.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
import com.francescodisalesdev.gitcli.service.GitService;
44
import com.francescodisalesdev.gitcli.utility.ErrorMessages;
55
import com.francescodisalesdev.gitcli.utility.SystemMessages;
6+
67
import org.json.simple.parser.ParseException;
8+
79
import org.springframework.shell.standard.ShellComponent;
810
import org.springframework.shell.standard.ShellMethod;
911
import org.springframework.shell.standard.ShellOption;

0 commit comments

Comments
 (0)