Skip to content

Commit

Permalink
Merge pull request webtorrent#71 from fisch0920/master
Browse files Browse the repository at this point in the history
Small PR to fix syntax error
  • Loading branch information
feross committed Jun 5, 2014
2 parents 09dcb6b + a67d87b commit ff7f5cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function onTorrent (torrent) {
torrent.on('verifying', function (data) {
if (!argv.quiet && !argv.list) {
clivas.clear()
clivas.line('{green:verifying existing torrent} {bold:'+data.percentDone.toFixed(2)+'%} ({bold:'+data.percentVerified.toFixed(2)+'%} {green:passed verification})')
clivas.line('{green:verifying existing torrent} {bold:'+Math.floor(data.percentDone)+'%} ({bold:'+Math.floor(data.percentVerified)+'%} {green:passed verification})')
}
})

Expand Down
2 changes: 1 addition & 1 deletion lib/fs-storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function FSStorage (parsedTorrent, opts) {
from: from,
to: to,
offset: offset,
openWrite openWrite,
openWrite: openWrite,
openRead: openRead
})
})
Expand Down

0 comments on commit ff7f5cf

Please sign in to comment.