diff options
author | Adam Spiers <git@adamspiers.org> | 2015-01-11 15:59:25 +0000 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2015-01-11 16:31:29 +0000 |
commit | 8aea564f281a3319d56cb392c05652e1348d682a (patch) | |
tree | b14bec58913202afdc8cf6a8a2327dc36805ba81 /html/js | |
parent | 63e503a92dec4ff29373e9cc5a8979ae989850d1 (diff) | |
download | git-deps-8aea564f281a3319d56cb392c05652e1348d682a.tar.gz |
fix bug in node lookup
Diffstat (limited to 'html/js')
-rw-r--r-- | html/js/git-deps-data.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/js/git-deps-data.coffee b/html/js/git-deps-data.coffee index 09dc007..e71185c 100644 --- a/html/js/git-deps-data.coffee +++ b/html/js/git-deps-data.coffee @@ -70,7 +70,7 @@ add_data = (data) -> node = (sha1) -> i = node_index[sha1] - unless i + unless i? console.error "No index for SHA1 '#{sha1}'" return null return nodes[i] |