Skip to content
Snippets Groups Projects
Commit babeb895 authored by nweiz@google.com's avatar nweiz@google.com Committed by Natalie Weizenbaum
Browse files

Fix a reference error in pub's git source.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@34630 260f80e4-7a28-3924-810f-c04153c831b5
parent 5dffa87a
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ class GitSource extends Source {
// fetch" if possible to avoid networking time and errors. See if the
// revision exists in the repo cache before updating it.
return _revParse(id).catchError((error) {
if (error is! GitException) throw error;
if (error is! git.GitException) throw error;
return _updateRepoCache(id).then((_) => _revParse(id));
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment