Skip to content

Commit 1f1ee3a

Browse files
Merge pull request #2011 from sanbornhilland/jst-tutorial-2-nit
JS Tutorial: Fix misaligned indentation in code example
2 parents e0a9541 + 4aebebf commit 1f1ee3a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tutorials/tutorial-two-javascript.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,11 @@ channel.consume(queue, function(msg) {
221221
console.log(" [x] Done");
222222
channel.ack(msg);
223223
}, secs * 1000);
224-
}, {
225-
// manual acknowledgment mode,
226-
// see /docs/confirms for details
227-
noAck: false
228-
});
224+
}, {
225+
// manual acknowledgment mode,
226+
// see /docs/confirms for details
227+
noAck: false
228+
});
229229
```
230230

231231
Using this code, you can ensure that even if you terminate a worker using

0 commit comments

Comments
 (0)