From 4b4e4e48e01fcb8a08ed1652b6c8b0f4f80e9e85 Mon Sep 17 00:00:00 2001
From: "floitsch@google.com" <floitsch@google.com>
Date: Mon, 15 Apr 2013 15:20:16 +0000
Subject: [PATCH] Remove insertRange.

Review URL: https://codereview.chromium.org//13956006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@21464 260f80e4-7a28-3924-810f-c04153c831b5
---
 lib/src/git_source.dart | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/src/git_source.dart b/lib/src/git_source.dart
index cea2bacf..2802ad8a 100644
--- a/lib/src/git_source.dart
+++ b/lib/src/git_source.dart
@@ -148,7 +148,7 @@ class GitSource extends Source {
       // directory.
       ensureDir(to);
       var args = ["clone", from, to];
-      if (mirror) args.insertRange(1, 1, "--mirror");
+      if (mirror) args.insert(1, "--mirror");
       return git.run(args);
     }).then((result) => null);
   }
-- 
GitLab