Skip to content

Commit 3f6fa0b

Browse files
committed
Fix name
1 parent 0178ed9 commit 3f6fa0b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/bionode-sra.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1 id="bionode-sra">bionode-sra</h1>
2626
<p>A Node.js wrapper for SRA Toolkit.</p>
2727
<p>doi: <a href="?">?</a>
2828
author: <a href="http://bmpvieira.com">Bruno Vieira</a>
29-
email: <a href="&#109;&#x61;&#x69;&#108;&#x74;&#111;&#58;&#x6d;&#x61;&#x69;&#x6c;&#64;&#x62;&#109;&#112;&#x76;&#x69;&#x65;&#105;&#114;&#x61;&#46;&#x63;&#x6f;&#109;">&#x6d;&#x61;&#x69;&#x6c;&#64;&#x62;&#109;&#112;&#x76;&#x69;&#x65;&#105;&#114;&#x61;&#46;&#x63;&#x6f;&#109;</a>
29+
email: <a href="&#x6d;&#97;&#105;&#x6c;&#x74;&#x6f;&#58;&#109;&#97;&#105;&#108;&#x40;&#x62;&#109;&#x70;&#118;&#105;&#x65;&#x69;&#114;&#97;&#x2e;&#x63;&#111;&#x6d;">&#109;&#97;&#105;&#108;&#x40;&#x62;&#109;&#x70;&#118;&#105;&#x65;&#x69;&#114;&#97;&#x2e;&#x63;&#111;&#x6d;</a>
3030
license: <a href="https://raw.githubusercontent.com/bionode/bionode-sra/master/LICENSE">MIT</a></p>
3131
</blockquote>
3232
<hr>
@@ -117,7 +117,7 @@ <h2 id="sra">SRA</h2>
117117

118118
<span class="hljs-keyword">if</span> (<span class="hljs-keyword">typeof</span> obj === <span class="hljs-string">'string'</span>) { obj = obj.split(<span class="hljs-string">' '</span>) }
119119

120-
<span class="hljs-keyword">if</span> (obj.length &gt; <span class="hljs-number">2</span>) { self.emit(<span class="hljs-string">'error'</span>, <span class="hljs-keyword">new</span> <span class="hljs-built_in">Error</span>(<span class="hljs-string">'Too many arguments for aspera'</span>)); next() }
120+
<span class="hljs-keyword">if</span> (obj.length &gt; <span class="hljs-number">2</span>) { self.emit(<span class="hljs-string">'error'</span>, <span class="hljs-keyword">new</span> <span class="hljs-built_in">Error</span>(<span class="hljs-string">'Too many arguments'</span>)); next() }
121121

122122
<span class="hljs-keyword">if</span> (obj.length === <span class="hljs-number">1</span>) { obj.push(<span class="hljs-string">'.'</span>) }
123123

lib/bionode-sra.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function SRA(command) {
7474

7575
if (typeof obj === 'string') { obj = obj.split(' ') }
7676

77-
if (obj.length > 2) { self.emit('error', new Error('Too many arguments for aspera')); next() }
77+
if (obj.length > 2) { self.emit('error', new Error('Too many arguments')); next() }
7878

7979
if (obj.length === 1) { obj.push('.') }
8080

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "bionode-sra",
33
"description": "A Node.js wrapper for SRA Toolkit.",
44
"version": "0.0.1",
5-
"homepage": "http://github.com/bionode/bionode-aspera",
5+
"homepage": "http://github.com/bionode/bionode-sra",
66
"repository": {
77
"type": "git",
8-
"url": "git://github.com/bmpvieira/bionode-aspera.git"
8+
"url": "git://github.com/bmpvieira/bionode-sra.git"
99
},
1010
"author": {
1111
"name": "Bruno Vieira",
@@ -34,7 +34,7 @@
3434
],
3535
"main": "index.js",
3636
"bin": {
37-
"bionode-aspera": "cli.js"
37+
"bionode-sra": "cli.js"
3838
},
3939
"scripts": {
4040
"preinstall": "cd sra; make",

0 commit comments

Comments
 (0)