Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
tbo47 committed Nov 10, 2017
1 parent 4c0fd66 commit 25bf574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/amule-js-node-ex2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ aMule.connect().then(m => {
const query = 'clo2 ' + aMule.getMonth();
aMule.search(query, 2).then(result => {
const funcs = result.children.map(e => () => aMule.download(e))
console.log('%d results found for query: %d', funcs.length, query);
console.log('%d results found for query: %s', funcs.length, query);
aMule.promiseSerial(funcs).then(list => {
list.map(e => console.log(e['partfile_name']))
process.exit(0);
Expand Down

0 comments on commit 25bf574

Please sign in to comment.