diff --git a/CHANGELOG.md b/CHANGELOG.md index cb2a19b7..4f6901ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,3 @@ -## [1.19] - 2019-11-11 -* Bug: Allow cloning from a custom port - ## [1.18] - 2019-11-02 * Better handling of Markdown files without YAML headers diff --git a/lib/apis/git.dart b/lib/apis/git.dart index ea302405..3821aa11 100644 --- a/lib/apis/git.dart +++ b/lib/apis/git.dart @@ -70,11 +70,6 @@ class GitRepo { static Future clone(String folderName, String cloneUrl) async { try { - if (!cloneUrl.startsWith('ssh://') && - !cloneUrl.startsWith('http://') && - !cloneUrl.startsWith('https://')) { - cloneUrl = 'ssh://' + cloneUrl; - } await invokePlatformMethod('gitClone', { 'cloneUrl': cloneUrl, 'folderName': folderName,